Class: ExternalPdfPartRetriever

PartRetrievers. ExternalPdfPartRetriever

Represents a pdf document retriever.

new ExternalPdfPartRetriever(url, options)

ExternalPdfPartRetriever retrieves Document data from a url.

Note: As of version 6.0, directly constructing a part retriever is deprecated and the capability will be removed in a future version. Please use the PartRetrievers#getPartRetriever function instead.
Parameters:
Name Type Description
url string The URL of the file to load. May be relative to the current page.
options object Additional options
Properties
Name Type Argument Description
useDownloader boolean Whether to use Downloader, defaults to false.
withCredentials boolean Whether to set the withCredentials property on the XMLHttpRequest
customHeaders object <optional>
Custom headers to send with the XMLHttpRequests