Accusoft Prizm Viewer Control v10.0
ImageLocationCenterX Property
See Also  Send comments on this topic.
PrizmControl Object : ImageLocationCenterX Property

Glossary Item Box

Description

Gets the x (horizontal) coordinate for the image position in the center of the viewing window.

Property Type

Read-write property

Syntax

Visual Basic
Public Property ImageLocationCenterX As Double

Return Type

A double value which represents the x coordinate value for the image position.

Remarks

The default value is the image X-coordinate of the position in the center of the window.

Use the SetImageLocation method to set the position of the image.

Note: The value returned by ImageLocationCenterX may differ from the x parameter specified when calling SetImageLocation.  For example, if you call SetImageLocation(0, 0) when the image is fully visible, ImageLocationCenterX will return a value that is the X coordinate of the center point of the image in the window instead of 0, since the call to SetImageLocation(0, 0) would not change the image display in the window.

See Also

©2015. Accusoft Corporation. All Rights Reserved.