Skip to main content
A newer version of this page is available. .

IExporterOptions.TargetUri Property

Gets or sets the URI of the document being exported.

Namespace: DevExpress.Office.Export

Assembly: DevExpress.Office.v18.2.Core.dll

Declaration

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:

Object Type Path to TargetUri
SpreadsheetBeforeExportEventArgs
.Options.TargetUri
BeforeExportEventArgs
.Options.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 BeforeExport event of the RichEditControl 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.

See Also