Skip to main content
All docs
V24.1

VisualExportTool.ExportFile(ExportOptionsBase, PrintingSystemBase) Method

Exports a document to a file in the specified format using the specified export options.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.XtraPrinting.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.Printing

Declaration

public static void ExportFile(
    ExportOptionsBase options,
    PrintingSystemBase ps
)

Parameters

Name Type Description
options ExportOptionsBase

An ExportOptionsBase descendant that determine the export format and options.

ps PrintingSystemBase

Remarks

The PrintingSystemBase descendant creates a document from the associated object before export.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ExportFile(ExportOptionsBase, PrintingSystemBase) method.

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.

See Also