automationYResolution Property (IAnnAutomationControl)

Summary

Gets the vertical resolution of the image.

Syntax

JavaScript Syntax
Object.defineProperty(IAnnAutomationControl.prototype, 'automationYResolution', 
	get: function() 
) 
TypeScript Syntax
automationYResolution: number; // read-only

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

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Core Assembly
Click or drag to resize