Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RtfDocumentExporterOptions.ListExportFormat Property

Gets or sets the way the lists are represented in the exported RTF document.

Namespace: DevExpress.XtraRichEdit.Export

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

NuGet Package: DevExpress.RichEdit.Core

#Declaration

public RtfNumberingListExportFormat ListExportFormat { get; set; }

#Property Value

Type Description
RtfNumberingListExportFormat

A RtfNumberingListExportFormat enumeration member specifying how the lists are exported.

Available values:

Name Description
PlainTextFormat

Lists are saved as plain text only, no specific RTF autonumber instructions are included.

RtfFormat

Lists are saved as text with autonumber instructions, as the RTF standard defines.

#Property Paths

You can access this nested property as listed below:

Object Type Path to ListExportFormat
RichEditDocumentExportOptions
.Rtf .ListExportFormat

#Remarks

Number format data can be stored individually for each paragraph, or in a style sheet within the document. In the latter case, each paragraph contains a link to the entry in the list numbering definition table.

The ListExportFormat property allows you to choose how the list numbering information is saved - the RtfNumberingListExportFormat.PlainTextFormat option stores numbering information for each paragraph (so the formatting is applied to the paragraph itself, and there are no list styles), while the RtfNumberingListExportFormat.RtfFormat indicates the use of a list style table.

See Also