addFromPdf
addFromPdf(String path) function
Creates slides from the PDF document and adds them to the end of the collection.
Parameters
Name | Type | Description |
---|---|---|
path | String | A path to the PDF document |
Result
addFromPdfFromStream (SlideCollection slidecollection, ReadStream pdfStream, Function callback) function
Creates slides from the PDF document and adds them to the end of the collection.
Parameters
Name | Type | Description |
---|---|---|
slidecollection | SlideCollection | link to self |
pdfStream | ReadStream | A stream which will be used as a source of the PDF document |
callback | Function | callback(error, result) - Callback to be called when the method has completed |