←Select platform

AutomationYResolution Property

Summary

Gets the vertical resolution of the image.

Syntax
C#
VB
Objective-C
C++
Java
public double AutomationYResolution { get; } 
ReadOnly Property AutomationYResolution As Double 
@property (nonatomic,readonly) double automationYResolution; 
double getAutomationYResolution(); 
public:  
   property double AutomationYResolution 
   { 
      double get() 
   } 

Property Value

The vertical resolution of the image. The provided implementation returns the height of ImageViewer.ImageResolution.

Remarks

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

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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly