The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ParagraphStyleCollection.Add(ParagraphStyle) Method

Add a style to the collection of styles in the current document.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.2.Core.dll

Declaration

void Add(
    ParagraphStyle style
)
Sub Add(
    style As ParagraphStyle
)
void Add(
    ParagraphStyle style
)
Sub Add(
    style As ParagraphStyle
)
void Add(
    ParagraphStyle style
)
Sub Add(
    style As ParagraphStyle
)

Parameters

Name Type Description
style ParagraphStyle

A ParagraphStyle class instance representing a paragraph style.

Parameters

Name Type Description
style ParagraphStyle

A ParagraphStyle class instance representing a paragraph style.

Parameters

Name Type Description
style ParagraphStyle

A ParagraphStyle class instance representing a paragraph style.

Remarks

A collection of styles in the document can be accessed via the Document.ParagraphStyles property. To create a new style, use the ParagraphStyleCollection.CreateNew method.

See Also