Skip to main content

PlainTextDocumentExporterOptions.FieldCodeEndMarker Property

Gets or sets a character or a string used to mark the end of a field code in the resulting text.

Namespace: DevExpress.XtraRichEdit.Export

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

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

Declaration

[DefaultValue("")]
public string FieldCodeEndMarker { get; set; }

Property Value

Type Default Description
String String.Empty

A string that marks the end of the field code.

Property Paths

You can access this nested property as listed below:

Object Type Path to FieldCodeEndMarker
RichEditDocumentExportOptions
.PlainText .FieldCodeEndMarker

Remarks

To export field codes, set the PlainTextDocumentExporterOptions.ExportHiddenText property to true.

Examples of use of the FieldCodeEndMarker property can be found in the PlainTextDocumentExporterOptions topic and in the SubDocument.GetText method overload topics.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FieldCodeEndMarker property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also