Set a value in the configuration.
Namespace:
pdf7.PdfWriterAssembly: pdf7.PdfWriter (in pdf7.PdfWriter.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub SetValue ( _ configName As String, _ configValue As String _ ) |
| C# |
|---|
public void SetValue( string configName, string configValue ) |
| Visual C++ |
|---|
public: void SetValue( String^ configName, String^ configValue ) |
| JavaScript |
|---|
function setValue(configName, configValue); |
Parameters
- configName
- Type: System..::.String
Name of the configuration to set.
- configValue
- Type: System..::.String
Value of the configuration.
Remarks
A call to this function can be used to change all the printer settings such as the output path.
Examples
Changing the output would look something like SetValue("output", "c:\myfile.pdf").