This event will be emitted whenever a click on a text line occurs that is not handled by any occluding page element (annotation, form, etc.).
Example
instance.addEventListener("textLine.press", (event) => {
console.log(event.point);
});
Members
Members
The browser event which caused the press event to dispatch. This is either a MouseEvent, TouchEvent, or a PointerEvent.
Type:
- Event
The point where the press event was detected in PDF page space coordinates.
Type:
The text line that was clicked.