←Select platform

AutomationImageHeight Property

Summary

Gets the height of the image being annotated in pixels.

Syntax

C#
VB
C++
public float AutomationImageHeight { get; } 
  
ReadOnly Property AutomationImageHeight As Single 
property float AutomationImageHeight { 
   float get(); 
} 

Property Value

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

Remarks

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.

Example

For an example, refer to IAnnAutomationControl.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly