IDocumentVisitor.Visit(DocumentParagraphStart) Method
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
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