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.
In certain formats, the page layout mode plays a key role in the quality of the converted document. ComPDF Conversion SDK supports two layout modes: Flow Layout and Box Layout.
Page layout modes are commonly used for PDF to Word and PDF to HTML.
const PageLayoutMode = {
BOX: 0,
FLOW: 1
};
const options = {
pageLayoutMode: PageLayoutMode.FLOW
};
const result = sdk.startPDFToWord(inputFilePath, "", outputFilePath, options);