PrintPreviewOptions.DefaultExportFormat Property

Specifies the default format to which a document is exported from the Print Preview form.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v20.1.Core.dll

Declaration

[DefaultValue(PrintingSystemCommand.ExportPdf)]
public PrintingSystemCommand DefaultExportFormat { get; set; }
<DefaultValue(PrintingSystemCommand.ExportPdf)>
Public Property DefaultExportFormat As PrintingSystemCommand

Property Value

Type Default Description
PrintingSystemCommand

ExportPdf

A PrintingSystemCommand enumeration value, corresponding to the required export format.

Property Paths

You can access this nested property as listed below:

Show 12 property paths
Library Object Type Path to DefaultExportFormat
Cross-Platform Class Library RemotePrintingSystem
.ExportOptions.PrintPreview.DefaultExportFormat
ExportOptions
.PrintPreview.DefaultExportFormat
PrintingSystemBase
.ExportOptions.PrintPreview.DefaultExportFormat
WinForms Controls PrintingSystem
.ExportOptions.PrintPreview.DefaultExportFormat
XtraSchedulerReport
.ExportOptions.PrintPreview.DefaultExportFormat
WPF Controls ExportOptionsContainer
.PrintPreview.DefaultExportFormat
PrintingSystem
.ExportOptions.PrintPreview.DefaultExportFormat
PrintingSystem
.ExportOptions.PrintPreview.DefaultExportFormat
Reporting XtraReport
.ExportOptions.PrintPreview.DefaultExportFormat
DocumentOperationRequest
.ExportOptions.PrintPreview.DefaultExportFormat
Silverlight Controls PrintingSystem
.ExportOptions.PrintPreview.DefaultExportFormat
PrintingSystem
.ExportOptions.PrintPreview.DefaultExportFormat

Remarks

The DefaultExportFormat property specifies a format to which a document is converted when the PrintingSystemCommand.ExportFile command is executed. To assign a format to the DefaultExportFormat property, the corresponding command should be specified, which begins with the 'Export' prefix (for example, PrintingSystemCommand.ExportPdf, which is the default value).

The default conversion format for the PrintingSystemCommand.SendFile command is specified via the PrintPreviewOptions.DefaultSendFormat property.

See Also