PdfStreamingExporter.ExportAsync(String, PdfExportOptions, CancellationToken) Method
SECURITY-RELATED CONSIDERATIONS
Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v25.2.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
public Task ExportAsync(
string fileName,
PdfExportOptions options = null,
CancellationToken token = default(CancellationToken)
)
Parameters
| Name | Type |
|---|---|
| fileName | String |
Optional Parameters
| Name | Type | Default |
|---|---|---|
| options | PdfExportOptions | null |
| token | CancellationToken | null |
Returns
| Type |
|---|
| Task |
See Also