LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

ToolBarImage Property






Gets or sets the image to be used on this AnnAutomationObject toolbar button.
Syntax
public virtual Image ToolBarImage {get; set;}
'Declaration
 
Public Overridable Property ToolBarImage As Image
'Usage
 
Dim instance As AnnAutomationObject
Dim value As Image
 
instance.ToolBarImage = value
 
value = instance.ToolBarImage
public virtual Image ToolBarImage {get; set;}
 get_ToolBarImage();
set_ToolBarImage(value);
public:
virtual property Image^ ToolBarImage {
   Image^ get();
   void set (    Image^ value);
}

Property Value

The System.Drawing.Image that appears on this AnnAutomationObject toolbar button.
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.
Example
For an example, refer to AnnAutomationManager.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnAutomationObject Class
AnnAutomationObject Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.