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);