Skip to main content

IDocumentVisitor.Visit(DocumentParagraphStart) Method

Called when a DocumentParagraphStart element is encountered.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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