Visual Basic: Bi-Directional Programming

Bidirectional Printing

See Also

Visual Basic provides an RTL printing capability for these three components:

When the RightToLeft property is set to True for forms, picture boxes, or the Printer object, the upper-right corner is treated as the beginning of the print area, and the Print method will then print text in an anticipated RTL reading order starting at the right margin. Tab and Space print commands will advance from right-to-left across the print area. Carriage Return will move to the right edge of the print line.

However, the underlying XY coordinate system retains the upper-left corner point as the origin reference point. Subsequently, all CurrentX and CurrentY references are determined by using the upper-left corner as the point of origin.

Specific printing behaviors for forms and picture boxes are covered in their respective topics.