Generate the PDF file for the given template object, and send it back to the express request.
To decode the response use the following example
httpClient.get('//your-url').toPromise().then(response => {
const file = new Blob([response], { type: 'application/pdf' });
const fileURL = URL.createObjectURL(file);
return fileURL;
});
The document template
The express response stream where to send back the PDF once generated
Return the font configuration. The base path is the root folder of the project
Generated using TypeDoc
A utility class for generation of PDF files