←Select platform

AutomationDpiX Property

Summary

Gets the horizontal resolution of the screen.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public double AutomationDpiX { get; } 
ReadOnly Property AutomationDpiX As Double 
double AutomationDpiX {get;} 
@property (nonatomic,readonly) double automationDpiX; 
double getAutomationDpiX(); 
get_AutomationDpiX();  
public:  
   property double AutomationDpiX 
   { 
      double get() 
   } 

Property Value

The horizontal resolution of the screen. The provided implementation returns the width of ImageViewer.ScreenDpi.

Remarks

The automation object will use AutomationDpiX, AutomationDpiY, AutomationXResolution and AutomationYResolution to obtain the values required to set the containers using AnnContainerMapper.MapResolutions.

The screen resolution is the same for all containers in normal situations. Therefore, the default implementation does not use AutomationContainerIndex when this property is called.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly