LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AutomationImageWidth Property
See Also 
Leadtools.Annotations Namespace > IAnnAutomationControl Interface : AutomationImageWidth Property



The AutomationImageWidth Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets the width of the image being annotated in pixels.

Syntax

Visual Basic (Declaration) 
ReadOnly Property AutomationImageWidth As Single
Visual Basic (Usage)Copy Code
Dim instance As IAnnAutomationControl
Dim value As Single
 
value = instance.AutomationImageWidth
C# 
float AutomationImageWidth {get;}
C++/CLI 
property float AutomationImageWidth {
   float get();
}

Property Value

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

Example

For an example, refer to IAnnAutomationControl.

Remarks

(Read only) 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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features