ViewCenterX Property

Read-only. A Double value. Returns the X-coordinate of the point in the center of the window in the coordinate system of the shape or the page, displayed in the window.

Applies to: Window object

Syntax

[[Let] viewCenterXRet = ] object.ViewCenterX

The ViewCenterX property syntax has these parts:

Part Description
object Required. An expression, that returns a Window object.
viewCenterXRet Optional. A Double type variable.

Remarks

The unit of measure for the ViewCenterX property are the internal ConceptDraw units (InternalUnit). To scroll the window to a specified position you can use the ScrollViewTo method.

 

See Also

ViewZoom property, ViewCenterY property, ScrollViewTo method