XtraPageSettings.AssignPrinterSettings(String, String, PrinterSettingsUsing) Method
Assigns the specified printer’s settings to the XtraPageSettings object.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.XtraPrinting.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.Printing
Declaration
[EditorBrowsable(EditorBrowsableState.Always)]
public override void AssignPrinterSettings(
string printerName,
string paperName,
PrinterSettingsUsing settingsUsing
)
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