The ToolBarImage Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets the image to be used on this AnnAutomationObject toolbar button.Visual Basic (Declaration) | |
---|---|
Public Overridable Property ToolBarImage As Image |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As AnnAutomationObject Dim value As Image instance.ToolBarImage = value value = instance.ToolBarImage |
C# | |
---|---|
public virtual Image ToolBarImage {get; set;} |
Property Value
The System.Drawing.Image that appears on this AnnAutomationObject toolbar button.For an example, refer to AnnAutomationManager.
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 AnnAutomationManager.Objects as the transparent color for the toolbar.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7