| Visual Basic (Declaration) | |
|---|---|
Public Overridable Property ToolBarImage As Image | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public virtual Image ToolBarImage {get; set;} | |
Return Value
The 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
Objects as the transparent color for the toolbar.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
Copy Code