LEADTOOLS Annotations (Leadtools.Annotations assembly)

AutomationUseDpi Property

Show in webframe





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

            

            
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

See Also

Reference

IAnnAutomationControl Interface
IAnnAutomationControl Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.