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.
Before editing, you should initialize editing mode. ComPDFKit provides methods to initialize editing mode.
The following code shows you how to initialize the editing mode:
docViewer.getContentEditManager().startContentEditMode();To add new text, you can switch to a tool called addText. For example:
instance.UI.setActiveTool('addText');You can switch to the addImage tool.
instance.UI.setActiveTool('addImage');