SetDefaultPrinter |
Scroll |
Set the default printer for the current user on the local computer.
Namespace: Therefore.API
Visual Basic Public Overridable Function SetDefaultPrinter ( _ strPrinterName As String, _ bAutoRevert As Boolean _ ) C# public virtual void SetDefaultPrinter ( String strPrinterName, boolo bAutoRevert )
ParametersstrPrinterName The name of the printer to be set as default printer.
bAutoRevert If true, the printer will be reverted back to the previous default printer when object's resources are released. |
|