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();