IDocumentVisitor.Visit(DocumentParagraphStart) Method
In This Article
Called when a DocumentParagraphStart element is encountered.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
#Declaration
void Visit(
DocumentParagraphStart paragraphStart
)
#Parameters
Name | Type | Description |
---|---|---|
paragraph |
Document |
A Document |
#Remarks
public override void Visit(DocumentParagraphStart paragraphStart) {
if (paragraphStart.ParagraphProperties.ParagraphStyle.Name == "heading 1")
Buffer.Append("#");
}
See Also