SetSetting Method (string, int)

Adds the specified integer 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, int numValue);

Parameters

Parameter Description
string settingName A string containing the setting name.
int numValue An integer that will be associated with the setting.