Leadtools.Windows.Annotations Namespace > AnnAutomationObject Class : ToolBarButtonImage Property |
public virtual BitmapSource ToolBarButtonImage {get; set;}
'Declaration Public Overridable Property ToolBarButtonImage As BitmapSource
'Usage Dim instance As AnnAutomationObject Dim value As BitmapSource instance.ToolBarButtonImage = value value = instance.ToolBarButtonImage
public: virtual property BitmapSource^ ToolBarButtonImage { BitmapSource^ get(); void set ( BitmapSource^ value); }
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 24 by 24.
For C#/VB examples, refer to AnnAutomationManager.