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.
You can set annotation tool in the Web PDF Viewer. The following code shows you how to set annotation tools:
// You can get all tools and set the tool you want.
const tools = docViewer.getToolMap();
// For example, set the freetext tool as the current tool.
docViewer.setTool('freetext');