automationXResolution Property


Gets the horizontal resolution of the image.

Object.defineProperty(IAnnAutomationControl.prototype, 'automationXResolution', 
	get: function() 
automationXResolution: number; // read-only 

Property Value

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


The automation object will use AutomationDpiX, AutomationDpiY, AutomationXResolution and AutomationYResolution to obtain the values required to set the containers using 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 ImageViewer control, this translates into the ImageViewerItem.Resolution of the item at index AutomationContainerIndex in ImageViewer.Items.

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

Leadtools.Annotations.Engine Assembly