Report.
You can use the CurrentX and CurrentY properties to specify the horizontal and vertical coordinates for the starting position of the next printing and drawing method on a report. For example, you use these properties to determine where the center point of a circle is drawn on a report section.
The coordinates are measured from the upper-left corner of the report section that contains the reference to the CurrentX or CurrentY property. The CurrentX property setting is 0 at the sections left edge, and the CurrentY property setting is 0 at its top edge.
You can set the CurrentX and CurrentY properties only in a macro or a Visual Basic event procedure specified by the OnPrint property setting of a report section.
Use the ScaleMode property to define the unit of measure, such as points, pixels, characters, inches, millimeters, or centimeters, that the coordinates will be based on.
When you use the following graphics methods, the CurrentX and CurrentY property settings are changed as indicated.
Method | Sets CurrentX, CurrentY to |
Circle | The center of the object. |
Line | The end point of the line (the x2, y2 coordinates). |
The next print position. |
Circle Method; DrawMode Property; DrawStyle Property; Event Properties; Left, Top Properties; Line Method; Print Event; PrintOut Method; Scale Method; ScaleHeight, ScaleWidth Properties; ScaleLeft, ScaleTop Properties; ScaleMode Property.