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.
ComPDF Conversion SDK obtains the conversion progress through callback functions. The following example demonstrates how to get the conversion progress while performing a PDF to Word task.
def progress_callback(current: int, total: int):
print(f"Progress: {current} / {total}")
callback = ConvertCallback()
callback.set_progress(progress_callback)