Applies To Report.
Description
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 can use these properties to determine where the center point of a circle is drawn on a report section.
Setting
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 section's left edge, and the CurrentY property setting is 0 at its top edge.
Method | Sets CurrentX, CurrentY properties to |
Circle | The center of the object. |
Line | The end point of the line (the x2, y2 coordinates). |
The next print position. |
See Also Circle method, DrawMode property, DrawStyle property, Event properties, Left, Top properties, Line method, Print event, Print method, Scale method, ScaleHeight, ScaleWidth properties, ScaleLeft, ScaleTop properties, ScaleMode property.
Example See the Print method example.