[]
Adds a custom property with a specified value to this document. The property is added to DocumentInfo and to UserProps in "http://ns.adobe.com/pdfx/1.3/" namespace.
If value
is null or empty,
and a custom property with the specified name exists in the document,
it is removed.
name
must not be one of the standard property names
Title, Author, Subject, Keywords, Creator, Producer, CreationDate, ModDate, and Trapped.
public void SetCustomProperty(string name, string value)
Public Sub SetCustomProperty(name As String, value As String)
Type | Name | Description |
---|---|---|
string | name | The name of the custom property. |
string | value | The property value. |