ComponentOne VSView 8.0
Paragraph Property

Renders a paragraph on the page at the current cursor position.

Syntax

[form!]VSPrinter.Paragraph = value As String

Remarks

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.

Data Type

String

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback