.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

DocumentExporterOptions.TargetUri Property

Gets or sets the URI of the document being exported.

Namespace: DevExpress.XtraRichEdit.Export

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

Declaration

[Browsable(false)]
public string TargetUri { get; set; }

Property Value

Type Description
String

A string representing the document URI.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to TargetUri
WinForms Controls RichTextEditDocumentExportOptions
.FlatOpcTemplate.TargetUri
Office File API RichEditDocumentExportOptions
.FlatOpcTemplate.TargetUri

Remarks

You may wish to specify the TargetUri value when exporting the document to formats that require saving certain content as separate objects, such as the HTML format with images and css files. Handle the RichEditControl.BeforeExport or RichEditDocumentServer.BeforeExport event to get access to exporter options and specify the TargetUri as the location for external files.

The following code snippets (auto-collected from DevExpress Examples) contain references to the TargetUri 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.

Implements

See Also