The AutomationDpiX Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets the horizontal resolution of the control being annotated in dots per inchVisual Basic (Declaration) | |
---|---|
ReadOnly Property AutomationDpiX As Single |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IAnnAutomationControl Dim value As Single value = instance.AutomationDpiX |
C# | |
---|---|
float AutomationDpiX {get;} |
Property Value
A System.Single that represents the horizontal resolution of the control being annotated in dots per inch.(Read only) 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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7