Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ToolBarImage Property
See Also 
Leadtools.Annotations Namespace > AnnAutomationObject Class : ToolBarImage Property



Gets or sets the image to be used on this AnnAutomationObject toolbar button.

Syntax

Visual Basic (Declaration) 
Public Overridable Property ToolBarImage As Image
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomationObject
Dim value As Image
 
instance.ToolBarImage = value
 
value = instance.ToolBarImage
C# 
public virtual Image ToolBarImage {get; set;}
C++/CLI 
public:
virtual property Image ToolBarImage {
   Image get();
   void set (Image value);
}

Return Value

The Image that appears on this AnnAutomationObject toolbar button.

Example

For an example, refer to AnnAutomationManager.

Remarks

The image can have any size and any bits/pixel. However, it is advised to use the same size and bits/pixel for all toolbar button images for all automation objects. A recommended toolbar button image has a size of 16 by 16 or 24 by 24 with 4 bits/pixel. Note that the automation framework will use the top-left pixel of the first automation object toolbar button image found in the Objects as the transparent color for the toolbar.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features