SetSetting Method (string, bool)

Adds the specified Boolean setting to the current printer settings if the setting name does not already exists; otherwise, the existing setting value will be overridden.

C#

private void SetSetting(string settingName, bool boolValue);

Parameters

Parameter Description
string settingName A string containing the setting name.
bool boolValue A Boolean setting value.