TXTextControl.ParagraphFormat Constructor

Creates a new instance of the ParagraphFormat class.


Creates an empty ParagraphFormat object with all properties set to their default values.

public ParagraphFormat();
[Visual Basic]
Public Class ParagraphFormat


Creates a new ParagraphFormat object with the specified horizontal alignment. All other properties are set to their default values.

public ParagraphFormat(HorizontalAlignment alignment);
[Visual Basic]
Public Sub New(ByVal alignment As HorizontalAlignment)
Parameter Description

Specifies one of the HorizontalAlignment values. The following values are possible:

Value Meaning
Center Text is centered.
Justify Text is fully justified.
Left Text is left aligned.
Right Text is right aligned.

See Also