PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Layout Analysis detects the layout structure of a PDF page and helps improve output quality for complex pages.
Use enableAiLayout to enable or disable AI layout analysis.
sdk.setDocumentAIModel("/path/to/documentai.model", -1);
const options = {
enableAiLayout: true
};
const result = sdk.startPDFToWord(inputFilePath, "", outputFilePath, options);