Copy link to clipboard
Copied
I'm creating a pdf using a HTML file and the API always gives me a PDF with header and footer, even setting the option to not include header and footer.
The API was working fine about a 3 months ago, but now i'm having this problem, any solution or explanation would help, thanks
pageLayout.setPageSize(16, 9);
CreatePDFOptions htmlToPdfOptions = CreatePDFOptions.htmlOptionsBuilder()
.includeHeaderFooter(false)
.withPageLayout(pageLayout)
.build();
htmlToPDFOperation.setOptions(htmlToPdfOptions);
Copy link to clipboard
Copied
nevermind, found a solution in this topic
https://community.adobe.com/t5/document-services-apis-discussions/headers-and-footers-are-not-remove...