Skip to main content
Participant
Jul 31, 2023 10:00 AM UTC
Question

Create a PDF from static HTML with inline CSS Node JS

i get thhis error: 

Exception encountered while executing operation TypeError: PDFServicesSdk.CreatePDF.options.PageLayout is not a constructor

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Participant
Aug 1, 2023 5:23 AM UTC

Hi, I took the examples from the website, the code for converting from WORD to PDF works, the code for converting from HTML to PDF gets the error:PDFServicesSdk.CreatePDF.options.PageLayout is not a constructor

 

https://developer.adobe.com/document-services/docs/overview/pdf-services-api/howtos/create-pdf/#create-a-pdf-from-static-html

Translate