Skip to main content
A newer version of this page is available. .

SendOptionsViewModel.Create(PrintingSystemBase, ExportFormat, IEnumerable<ExportFormat>) Method

Creates a new SendOptionsViewModel class descendant with the specified settings.

Namespace: DevExpress.Xpf.Printing.PreviewControl

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

Declaration

public static SendOptionsViewModel Create(
    PrintingSystemBase printingSystem,
    ExportFormat format,
    IEnumerable<ExportFormat> hiddenFormats = null
)

Parameters

Name Type Description
printingSystem PrintingSystemBase

A PrintingSystemBase object.

format ExportFormat

A ExportFormat enumeration value.

Optional Parameters

Name Type Default Description
hiddenFormats IEnumerable<ExportFormat> *null*

A collection of ExportFormat enumeration values.

Returns

Type Description
SendOptionsViewModel

A SendOptionsViewModel object.

See Also