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



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

Gets the height of the image being annotated in pixels.

Syntax

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

Property Value

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

Example

For an example, refer to IAnnAutomationControl.

Remarks

(Read only) The height of the image being annotated in pixels. Usually you will return the height of the image you are using in AutomationRasterImage (RasterImage.ImageHeight), however, since you do not need to implement that property and can safely return null in some case, you must always manually implement AutomationImageHeight to return the image height in pixels. In this case, the height 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