Leadtools.Annotations Namespace > IAnnAutomationControl Interface : AutomationUseDpi Property |
bool AutomationUseDpi {get;}
'Declaration ReadOnly Property AutomationUseDpi As Boolean
'Usage Dim instance As IAnnAutomationControl Dim value As Boolean value = instance.AutomationUseDpi
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.