LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

AutomationImageDpiX Property






Gets the horizontal resolution of the image being annotated in dots per inch
Syntax
float AutomationImageDpiX {get;}
'Declaration
 
ReadOnly Property AutomationImageDpiX As Single
'Usage
 
Dim instance As IAnnAutomationControl
Dim value As Single
 
value = instance.AutomationImageDpiX
float AutomationImageDpiX {get;}
get_AutomationImageDpiX(); 
property float AutomationImageDpiX {
   float get();
}

Property Value

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

The horizontal 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.XResolution), however, since you do not need to implement that property and can safely return null in some case, you must always manually implement AutomationImageDpiX 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: 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

See Also

Reference

IAnnAutomationControl Interface
IAnnAutomationControl Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.