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

DocumentExporterOptions.TargetUri Property

Gets or sets the URI of the document being exported.

Namespace: DevExpress.XtraRichEdit.Export

Assembly: DevExpress.RichEdit.v19.1.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
.OpenXml.TargetUri
Office File API RichEditDocumentExportOptions
.OpenXml.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.

Tip

A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=E1604.

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