Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IDocumentVisitor.Visit(DocumentParagraphStart) Method

Called when a DocumentParagraphStart element is encountered.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

void Visit(
    DocumentParagraphStart paragraphStart
)

Parameters

Name Type Description
paragraphStart DocumentParagraphStart

A DocumentParagraphStart object that is being visited.

Remarks

public override void Visit(DocumentParagraphStart paragraphStart) {
            if (paragraphStart.ParagraphProperties.ParagraphStyle.Name == "heading 1")
                Buffer.Append("#");
        }
See Also