CurrentX Property

Object List Next Object

Defined By:
Printer

Description:

Determines the horizontal CurrentX coordinate where the next drawing method will begin. In combination with the CurrentY property it determines the location of an object.

Details:

The X, Y coordinates are measured from the upper left corner (0,0) of an object. They are expressed in twips, or the scale defined by the ScaleHeight, ScaleWidth, ScaleLeft, ScaleTop, and ScaleMode properties of the container.

This value can be set to affect the next output method, or can be used after the method completes to determine the extent of the output method. Each time something is drawn on a Drawable (PictureBox), the values held in CurrentX and CurrentY change. For example, the Cls method resets the coordinates in the container to 0, 0.

Data Type: Single

See Also:

Cls method, DrawMode property, DrawStyle property, ScaleHeight, ScaleWidth properties, ScaleLeft, ScaleTop, ScaleMode properties