Skip to main content
Version: Version 5

Type Alias: DocumentViewPoint

DocumentViewPoint = Brand<Point, "DocumentViewPoint">

Represents a point in the document view, corresponding to a PDF point that is scaled proportionally based on the rendered size of the document on screen relative to its original size in PDF units.

This type aligns with HTML event coordinates emitted when interacting with the DOM, ensuring consistency between PDF rendering and user interactions.