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



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

Gets the vertical resolution of the image being annotated in dots per inch.

Syntax

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

Property Value

A System.Single that represents the vertical resolution of the image being annotated in dots per inch.

Example

For an example, refer to IAnnAutomationControl.

Remarks

(Read only) The vertical resolution of the image being annotated in dots per inch. Usually you will return the resolution of the image you are using in AutomationRasterImage (RasterImage.YResolution), however, since you do not need to implement that property and can safely return null in some case, you must always manually implement AutomationImageDpiY to return the resolution in dots per inch. In this case, the resolution of the virtual image you will be using in automation or simply 0 to use the current screen resolution. 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