.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.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.v20.2.Core.dll


void Add(
    ParagraphStyle style
Sub Add(
    style As ParagraphStyle


Name Type Description
style ParagraphStyle

A ParagraphStyle class instance representing a paragraph style.


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