addFromPdf

addFromPdf(String path) function

Creates slides from the PDF document and adds them to the end of the collection.

Parameters

NameTypeDescription
pathStringA path to the PDF document

Result

Slide


addFromPdfFromStream (SlideCollection slidecollection, ReadStream pdfStream, Function callback) function

Creates slides from the PDF document and adds them to the end of the collection.

Parameters

NameTypeDescription
slidecollectionSlideCollectionlink to self
pdfStreamReadStreamA stream which will be used as a source of the PDF document
callbackFunctioncallback(error, result) - Callback to be called when the method has completed

Result

Slide