Creates a new instance of the ParagraphStyle class.

ParagraphStyle(String)

public ParagraphStyle(string name);
Public Sub New(ByVal name As String)

ParagraphStyle(String, String)

public ParagraphStyle(string name, string baseStyle);
Public Sub New(ByVal name As String, ByVal baseStyle As String)

ParagraphStyle(ParagraphStyle)

public ParagraphStyle(ParagraphStyle style);
Public Sub New(ByVal style As ParagraphStyle)

Parameters

Parameter Description
name Specifies the new style's name.
baseStyle Specifies the name of the style the new style is based on.
style Is a style the attributes of which are used to initialize the new style.