←Select platform

AutomationImageDpiY Property

Summary

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

Syntax

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

Property Value

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

Remarks

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.

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