.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.XtraSpreadsheet.Export

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


public string TargetUri { get; set; }

Property Value

Type Description

A string representing the document URI.

Property Paths

You can access this nested property as listed below:

Object Type Path to TargetUri


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 SpreadsheetControl.BeforeExport event to get access to exporter options and specify the TargetUri as the location for external files.


See Also