Skip to main content

PrintingSystem.ExportToXps(String) 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.

Exports a report to the specified file path in XPS format.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v25.2.dll

NuGet Package: DevExpress.Wpf.Printing

Declaration

public void ExportToXps(
    string filePath
)

Parameters

Name Type Description
filePath String

A String which specifies the file name (including the full path) for the created XPS file.

Remarks

Note

The ExportToXps method is only supported by the DXPrinting library (both for WPF and Silverlight).

See Also