AutomationXResolution Property

Summary
Gets the horizontal resolution of the image.
Syntax
C#
VB
C++
public virtual double AutomationXResolution { get; } 
  
Public Overridable ReadOnly Property AutomationXResolution As Double 
            public: 
virtual property double AutomationXResolution { 
   double get(); 
} 

Property Value

The horizontal resolution of the image. The provided implementation returns the width of ImageViewer.ImageResolution.

Remarks

The automation object will use AutomationDpiX, AutomationDpiY, AutomationXResolution and AutomationYResolution to obtain the values required to set the containers using Leadtools.Annotations.Engine.AnnContainerMapper.MapResolutions(System.Double,System.Double,System.Double,System.Double).

When using multiple-containers mode, each container might have a different image resolution. Therefore the default implementation uses AutomationContainerIndex to obtain the value for the requested container. When using an Leadtools.Controls.ImageViewer control, this translates into the ImageViewerItem.Resolution of the item at index AutomationContainerIndex in ImageViewer.Items.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.