ImageGear for .NET
SetInfo Method
See Also  Send Feedback
ImageGear21.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFDocument Class : SetInfo Method




key
The name of the Info dictionary key whose value is set.
value
String containing the value to associate with infoKey.

Glossary Item Box

Sets the value of a key in a document's Info dictionary.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

key
The name of the Info dictionary key whose value is set.
value
String containing the value to associate with infoKey.

Remarks

This method can be used to set new values for the following standard document information dictionary keys: "Title", "Author", "Subject", "Keywords" and "Creator".

NOTE: The following standard document information dictionary keys are read-only: "Producer", "Created" and "Modified", the library will overwrite the values of these keys on document save.

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.

See Also

©2013. Accusoft Corporation. All Rights Reserved.