TX Text Control .NET Documentation

ParagraphStyleCollection.Add Method

Description: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
ParameterDescription
paragraphStyleSpecifies the style to add.

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

See also:Stylesheet Programming, Graphical Overview.