ImageGear Professional v18.2 > API Reference Guide > PDF Component API Reference > PDF Component Objects > General Objects > IGPDFDoc Object > IGPDFDoc Methods > SetInfo Method |
Sets the value of a key in a document's Info dictionary.
See Section 10.2.1 on Info dictionaries in the PDF Reference for information about Info dictionaries. All values in the Info dictionary should be strings; other data types such as numbers and Booleans should not be used as values in the Info dictionary. If an info dictionary key is specified that is not currently in the info dictionary, it is added to the dictionary.
SetInfo (InfoKey As String, Value As String)
Name | Description |
---|---|
InfoKey | The name of the Info dictionary key whose value is set. |
Value | String containing the value to associate with InfoKey. |
None