Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Annotations.Core)

AutomationXResolution Property

Show in webframe
Gets the horizontal resolution of the image.
Syntax
get_automationXResolution();
Object.defineProperty('automationXResolution');

Property Value

TypeDescription
doubleThe 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 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.

See Also

Reference

IAnnAutomationControl Interface
IAnnAutomationControl Members

Error processing SSI file