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

AutomationImageWidth Property






Gets the width of the image being annotated in pixels.
Syntax
float AutomationImageWidth {get;}
'Declaration
 
ReadOnly Property AutomationImageWidth As Single
'Usage
 
Dim instance As IAnnAutomationControl
Dim value As Single
 
value = instance.AutomationImageWidth
float AutomationImageWidth {get;}
get_AutomationImageWidth(); 
property float AutomationImageWidth {
   float get();
}

Property Value

A System.Single that represents the the width of the image being annotated in pixels.
Remarks

The width of the image being annotated in pixels. Usually you will return the width of the image you are using in AutomationRasterImage (RasterImage.ImageWidth), however, since you do not need to implement that property and can safely return null in some case, you must always manually implement AutomationImageWidth to return the image width in pixels. In this case, the width of the virtual image you will be using in automation. You must trigger the IAnnAutomationControl.AutomationImageChanged event when the value of this property is changed.

Example
For an example, refer to IAnnAutomationControl.
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

IAnnAutomationControl Interface
IAnnAutomationControl Members

 

 


Products | Support | Contact Us | Copyright Notices

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