Control Reference > VSPrinter Control > VSPrinter Properties > Paragraph Property |
Renders a paragraph on the page at the current cursor position.
[form!]VSPrinter.Paragraph = value As String
This is the main property for placing text on a page. The VSPrinter control takes care of justification, word wrapping, and page breaks.
Before rendering the text, the Paragraph property checks the current cursor position. If the cursor is free (that is, was not set by the user or as a result of rendering text with the Text property), 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 property resets the horizontal cursor position to the left margin and increments the vertical cursor position by the amount specified with the SpaceAfter property.
If the AutoRTF property is set to True and the text starts with a curly bracket ("{"), the text is rendered as RTF.
If you want to render text with mixed fonts and colors, use the Text property. If you want to render text within a rectangle on the page, use the TextBox method.
String