XtraPageSettings.AssignPrinterSettings(String, String, PrinterSettingsUsing) Method

Assigns the specified printer's settings to the XtraPageSettings object.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.XtraPrinting.v20.2.dll

Declaration

[EditorBrowsable(EditorBrowsableState.Always)]
public override void AssignPrinterSettings(
    string printerName,
    string paperName,
    PrinterSettingsUsing settingsUsing
)
<EditorBrowsable(EditorBrowsableState.Always)>
Public Overrides Sub AssignPrinterSettings(
    printerName As String,
    paperName As String,
    settingsUsing As PrinterSettingsUsing
)

Parameters

Name Type Description
printerName String

A String value specifying the printer name. This value is assigned to the XtraPageSettingsBase.PrinterName property.

paperName String

A String value specifying the paper name. This value is assigned to the XtraPageSettingsBase.PaperName property.

settingsUsing PrinterSettingsUsing

A PrinterSettingsUsing object specifying which of the printer settings should be assigned.

Remarks

Use this method to assign settings of the specified printer to the settings of the XtraPageSettings object.

See Also