Printer Object
 
Syntax
 
Printer.Paragraph strText
 
Description
Renders a paragraph on the page at the current cursor position.
 
This is the main method for placing text on a page. The Printer object takes care of justification, word wrapping, and page breaks.
 
Before rendering the text, the Paragraph method checks the current cursor position. If the cursor is free (that is, was not set by the user), then its horizontal position is reset to the left margin and its vertical position is incremented by the amount specified with the SpaceBefore property.
 
After rendering the text, the Paragraph method resets the horizontal cursor position to the left margin and increments the vertical cursor position by the amount specified with the SpaceAfter property.
 
Note: if the text starts with a curly bracket ("{"), the text is rendered as RTF (Rich Text Format) code.
 
If you want to render text within a rectangle on the page, use the TextBox method.
 
See Also
Example