PdfOutputOptions.SetValue Method
This method sets the value of a metadata name/value pair.
Syntax
public void SetValue(string name, string value)
Parameters | Description |
Name | The name of the name/value pair. |
Value | The value of the name/value pair. |
Remarks
Currently, only the following metadata names are supported for PDF output coming from HTP templates:
- Author
- Producer
- Title
- Subject
- Keywords
- Creator
- CreationDate
- ModDate
- Trapped
Only the following metadata names are supported for PDF output coming from RTF templates:
- Author
- Producer
- Title
- Subject
- Keywords
If the Value parameter is null, then the corresponding metadata from RTF or DOCX input is used. If the Name parameter is "Producer", and (a) the Value parameter is null, and (b) the "Producer" metadata from the input template is empty, then the PDF output will contain the "Producer" metadata value "HotDocs Server XX", where XX is the major version number of HotDocs (e.g. "HotDocs Server 11").