Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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.v19.1.Core.dll

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:

Library Object Type Path to FieldCodeStartMarker
WinForms Controls RichTextEditDocumentExportOptions
.PlainText.FieldCodeStartMarker
Office File API 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 snippets (auto-collected from DevExpress Examples) contain references 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