Adds to new formatting style to the current document.

Add(ParagraphStyle)

public bool Add(ParagraphStyle paragraphStyle);
Public Function Add(ByVal paragraphStyle As ParagraphStyle) As Boolean

Parameters

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.