.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

IDocumentVisitor.Visit(DocumentParagraphStart) Method

Called when a DocumentParagraphStart element is encountered.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

void Visit(
    DocumentParagraphStart paragraphStart
)
Sub Visit(
    paragraphStart As DocumentParagraphStart
)

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