Leadtools.Annotations Namespace > IAnnAutomationControl Interface : AutomationImageWidth Property |
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();
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.
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