PrintPreviewOptions.DefaultExportFormat Property

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

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v19.2.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.

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