Error processing SSI file
LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)

Show in webframe

ToolBarButtonImage Property






Gets ot sets the toolbar button's System.Windows.Media.Imaging.BitmapSource of this AnnAutomationObject.
Syntax
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);
}

Property Value

A System.Windows.Media.Imaging.BitmapSource which represents the toolbar button's Image of this AnnAutomationObject.
Remarks
Calling CreateToolBar will create the toolbar and all the buttons for all the automation objects in Objects. After that, you can use this property to edit the toolbar button control if needed.

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.

Example

For C#/VB examples, refer to AnnAutomationManager.

Requirements

Target Platforms

See Also

Reference

AnnAutomationObject Class
AnnAutomationObject Members

Error processing SSI file
   Leadtools.Windows.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features