TXTextControl.ParagraphStyleCollection.Add Method

Adds to new formatting style to the current document.

Syntax

[C#]
public bool Add(ParagraphStyle paragraphStyle);
[Visual Basic]
Public Function Add(ByVal paragraphStyle As ParagraphStyle) As Boolean
Parameter Description
paragraphStyle

Specifies the style to add.

Return Value

The return value is true, if the style could be added. Otherwise it is false.

See Also