|
Now we have to insert our summary information into the object we've
just added. Dates are generally specified as strings in the format
"D:YYYYMMDD" but for our purposes we'll just include the
year.
[C#]
theDoc.SetInfo(theID, "/Title:Text", "ABCpdf");
theDoc.SetInfo(theID, "/Author:Text", "WebSupergoo");
theDoc.SetInfo(theID, "/Subject:Text", "ABCpdf Documentation");
theDoc.SetInfo(theID, "/Keywords:Text", "ABCpdf,PDF,Docs");
theDoc.SetInfo(theID, "/Creator:Text", "WebSupergoo");
theDoc.SetInfo(theID, "/Producer:Text", "WebSupergoo");
theDoc.SetInfo(theID, "/CreationDate:Text", "D:2003");
theDoc.SetInfo(theID, "/ModDate:Text", "D:2003");
theDoc.SetInfo(theID, "/Trapped:Name", "False");
[Visual Basic]
theDoc.SetInfo(theID, "/Title:Text", "ABCpdf")
theDoc.SetInfo(theID, "/Author:Text", "WebSupergoo")
theDoc.SetInfo(theID, "/Subject:Text", "ABCpdf Documentation")
theDoc.SetInfo(theID, "/Keywords:Text", "ABCpdf,PDF,Docs")
theDoc.SetInfo(theID, "/Creator:Text", "WebSupergoo")
theDoc.SetInfo(theID, "/Producer:Text", "WebSupergoo")
theDoc.SetInfo(theID, "/CreationDate:Text", "D:2003")
theDoc.SetInfo(theID, "/ModDate:Text", "D:2003")
theDoc.SetInfo(theID, "/Trapped:Name", "False")
|
|
|