SetSetting Method (string, string)

Adds the specified string 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, string stringValue);

Parameters

Parameter Description
string settingName A string containing the setting name.
string stringValue A string that will be associated with the setting.