Click or drag to resize

PdfDocumentMetadataAddCustomField Method

Adds a custom field to the metadata object.

Namespace:  Atalasoft.PdfDoc
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public void AddCustomField(
	string name,
	string val
)

Parameters

name
Type: SystemString
The name to be associated with this metadata
val
Type: SystemString
The string value to associate with this metadata
Remarks
While the name parameter can be any string, you should avoid using whitespace characters or PDF delimiters. Whitespace characters include NUL (ASCII 0), Tab (ASCII 9), Line Feed (ASCII 10), Form Feed (ASCII 12), Carriage Return (ASCII 13) or space (ASCII 32). Delimiter characters include (, ), lt;, gt;, [, ], {, }, /, and %. Upper and lower case characters are considered unique. It is recommended that the string for name be chosen in such a way that it appropriately describes the content of the metadata. Avoid using the names of standard metadata fields (Title, Subject, Author, Keywords, Creator, Producer). Extra fields can also be added via the CustomFields hashtable.
See Also