Skip to content
ComPDF
DemoFAQ
New Release

Open-Source PDF SDK & AI Document Processing

Get the full self-hosted SDK and AI document processing on GitHub. One-click deploy to quickly build your document workflows.

Get Conversion Progress

ComPDF Conversion SDK obtains the conversion progress through callback interfaces. The following example demonstrates how to get the conversion progress while performing a PDF to Word task.

go
callback := compdf.NewProgressCallback(func(current, total int) {
    fmt.Printf("Progress: %d / %d\n", current, total)
})