Specifies an object with properties from the document information dictionary in the PDF file. (See the PDF Reference). Standard entries are:TitleAuthorAuthors (Acrobat 9.0)SubjectKeywordsCreatorProducerCreationDateModDateTrappedFor Acrobat, properties of this object are writeable and setting a property dirties the document. Additional document information fields can be added by setting non-standard properties.In Adobe Reader, writing to any property in this object throws an exception.Acrobat 9.0 intoduces the Authors (authors) property of the info object. Use Authors to retrieve a seim-colon delimited list of authors. Author information is saved in the XMP metadata, and Doc.info.Authors retrieves the information from the metadata as an array. Individual authors can be accessed. See Example 3 (Acrobat 9.0) below.R/W (Adobe Reader: R only)var docTitle = this.info.Title;this.info.Title = "JavaScript, The Definitive Guide";this.info.ISBN = "1-56592-234-4";this.info.PublishDate = new Date();for (var i in this.info)console.println(i + ": "+ this.info[i]);CreationDate: Mon Jun 12 14:54:09 GMT-0500 (Central Daylight Time) 2000Producer: Acrobat Distiller 4.05 for WindowsTitle: JavaScript, The Definitive GuideCreator: FrameMaker 5.5.6p145ModDate: Wed Jun 21 17:07:22 GMT-0500 (Central Daylight Time) 2000SavedBy: Adobe Acrobat 4.0 Jun 19 2000PublishDate: Tue Aug 8 10:49:44 GMT-0500 (Central Daylight Time) 2000ISBN: 1-56592-234-4This example demonstrates how to set and to get multiple authors. Multiple authors may also be entered through the Description tab of the Document Properties dialog box.this.info.Authors=["Robat, A. C.", "Obe, A. D.","Torys, D. P."];Execute this.info.Authors in the JavaScript Debugger Console window, the result is given below.Robat, A. C.,Obe, A. D.,Torys, D. P.for (var i=0; i<this.info.Authors.length; i++)console.println((i+1) + ": " + this.info.Authors[i]);1: Robat, A. C.2: Obe, A. D.3: Torys, D. P.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/JS_API_AcroJS.88.396.html