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

AutomationUseDpi Property






Gets a value indicating whether the automation object should pay consideration to the image and control resolution when drawing annotation objects.
Syntax
bool AutomationUseDpi {get;}
'Declaration
 
ReadOnly Property AutomationUseDpi As Boolean
'Usage
 
Dim instance As IAnnAutomationControl
Dim value As Boolean
 
value = instance.AutomationUseDpi
bool AutomationUseDpi {get;}
get_AutomationUseDpi(); 
property bool AutomationUseDpi {
   bool get();
}

Property Value

true if the automation object should pay consideration to the image and control resolution when drawing annotation objects, otherwise; false.
Remarks

a value indicating whether to use pay consideration to the image and control resolution when drawing annotation objects. The automation uses the resolution when translation values to pixels, for example, when calculating point size of a font. Also, objects such as rulers will use the resolution to correctly display the value in device independent coordinates such as inches and millimeters. If the value of this property is true, then the automation will use AutomationImageDpiX, AutomationImageDpiY, AutomationDpiX and AutomationDpiY to when calculating these values and ensure the result value on screen is accurate. If the value of this property is false, then the automation will not use any of these values and the calculations will be done using a default value of 96 dots per inch. You must trigger the IAnnAutomationControl.AutomationUseDpiChanged 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.