The AutomationImageWidth Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets the width of the image being annotated in pixels.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;} |
Property Value
A System.Single that represents the the width of the image being annotated in pixels.(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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7