InsertPdf Function
Inserts the contents of a PDF document given as a binary large object (blob) into an Envision document currently opened in the Canvas Envision Creator app.
InsertPdf(
data: ArrayBuffer,
options?: [[[EvPdfOptions|evpdfoptions-interface.html]]],
pwd?: string
): Promise<[[[EvItem|canvas-envision-document-items.html#page-items]]][]>
Parameters
data: ArrayBufferAn array of bytes, the blob of a PDF file whose contents should be imported into the current .evdoc file.
options?: EvPdfOptionsAn
EvPdfOptionsobject with the policies for handling the text imported from the PDF file.pwd?: stringA string, a password for the PDF file if it is protected.
Return value
Promise<EvItem[]>A Promise that, if fulfilled, resolves to an array of Page items generated from the imported PDF file.
12 February 2025