Skip to main content

PlainTextDocumentExporterOptions.FieldCodeStartMarker Property

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

Namespace: DevExpress.XtraRichEdit.Export

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

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

Declaration

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

Property Value

Type Default Description
String String.Empty

A string that marks the beginning of the field code.

Property Paths

You can access this nested property as listed below:

Object Type Path to FieldCodeStartMarker
RichEditDocumentExportOptions
.PlainText .FieldCodeStartMarker

Remarks

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

Examples of use of the FieldCodeStartMarker 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 FieldCodeStartMarker 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