JavaScript > JavaScript for Acrobat API Reference > JavaScript API > app > app methods > newCollection

newCollection
 
 
 
Creates a new collection-based PDF, a PDF portfolio, with no content.
To work with an existent PDF portfolio, begin with Doc.collection.
Returns
A Doc object of the newly created PDF.
Example
Create a new PDF portfolio and get the Doc object of the newly created PDF.
var doc = app.newCollection();

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.157.html