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 is the process of leveraging Artificial Intelligence (AI) technology to parse and understand the structure of a document's layout. Its primary goal is to extract text, images, tables, layers, and other data from the input documents.
Layout analysis has several common use cases, including:
Features that support Layout Analysis:
This Sample demonstrates how to use Layout Analysis to convert a PDF to a DOCX file.
// Set the DocumentAI model path.
LibraryManager::SetDocumentAIModel("path/documentai.model");
ConvertOptions opt;
// Enable layout analysis option.
opt.enable_ai_layout = true;
CPDFConversion::StartPDFToWord("word.pdf", "password", "path/output.docx", opt);