evCreate API 5.7 Help

InsertPdfFromUrl Function

Inserts the contents of a PDF document accessed via a URL into an Envision document currently opened in the Canvas Envision Creator app.

InsertPdfFromUrl( url: string, options?: [[[EvPdfOptions|evpdfoptions-interface.html]]], pwd?: string ): Promise<[[[EvItem|canvas-envision-document-items.html#page-items]]][]>

Parameters

url: string

A string, a URL to a PDF file whose contents should be imported into the current .evdoc file.

options?: EvPdfOptions

An EvPdfOptions object with the policies for handling the text imported from the PDF file.

pwd?: string

A 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