Leadtools.Annotations Namespace > IAnnAutomationControl Interface : AutomationDpiY Property |
float AutomationDpiY {get;}
'Declaration ReadOnly Property AutomationDpiY As Single
'Usage Dim instance As IAnnAutomationControl Dim value As Single value = instance.AutomationDpiY
The vertical 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.DpiY of the result object or simply 0 to use the current screen resolution.