CenterX Property

NI Vision for Visual Basic

CenterX Property

Syntax

CWIMAQViewer.CenterX

Data Type

Long

Purpose

X-coordinate of the image that the method places in the center of the viewer when the image is larger than the viewer.

Remarks

If the width of the image is less than the width of the viewer, the viewer ignores this property and centers the image horizontally. You can use the Center method to set CenterX and CenterY at the same time.

See Also

CenterY

Center

OriginX

OriginY