Leadtools.Annotations Namespace > IAnnAutomationControl Interface : AutomationDpiX Property |
float AutomationDpiX {get;}
'Declaration ReadOnly Property AutomationDpiX As Single
'Usage Dim instance As IAnnAutomationControl Dim value As Single value = instance.AutomationDpiX
The horizontal resolution of the control being annotated in dots per inch. Usually you will return the resolution of the control you are using in IAnnAutomationControl by obtaining it in a standard way in Windows.Forms. For example, using System.Windows.Forms.Control.CreateGraphics and returning Graphics.DpiX of the result object or simply 0 to use the current screen resolution.