Leadtools.Annotations Namespace > IAnnAutomationControl Interface : AutomationImageHeight Property |
float AutomationImageHeight {get;}
'Declaration ReadOnly Property AutomationImageHeight As Single
'Usage Dim instance As IAnnAutomationControl Dim value As Single value = instance.AutomationImageHeight
float AutomationImageHeight {get;}
get_AutomationImageHeight();
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.
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