Skip to main content

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Printing

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