Web SDKv1.0.0

PDFViewer.tools

Handles for running tools — see viewer.tools.editText. A handle throws SDKError INVALID_STATE, with instructions, when its tool is not running, rather than failing silently.
getterPropertiessince 1.0.0

Signature

get tools(): ToolsApi

Returns

ToolsApi

Example

TypeScript
await viewer.activateTool('editText');
const blocks = await viewer.tools.editText.listBlocks(0);

More in PDFViewer