Now we have to insert our summary information into the object we've
just added.
[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");
DateTime theDate = DateTime.Now;
theDoc.SetInfo(theID, "/CreationDate:Text", theDate);
theDoc.SetInfo(theID, "/ModDate:Text", theDate);
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")
Dim theDate As DateTime = DateTime.Now
theDoc.SetInfo(theID, "/CreationDate:Text", theDate)
theDoc.SetInfo(theID, "/ModDate:Text", theDate)
theDoc.SetInfo(theID, "/Trapped:Name", "False")
|
|
|