Skip to content

Overview ​

This section covers viewer capabilities related to reading, page display, and user interaction. These features typically affect display or interaction state in the viewer without directly modifying PDF file content.

With the full UI (UIExtension), common actions such as zoom, page navigation, view rotation, snapshots, and text selection are available through the toolbar, sidebar, or floating tools. To control view state from application code, respond to user selection, or integrate custom tools, use PDFViewer, PDFDocRender, PDFPageRender, and related interaction APIs.

Topics in this section:

  • Render document: Document render objects, page render objects, and redraw flow.
  • Page navigation and zoom: Use PDFDocRender.goToPage(), PDFViewer.zoomTo(), PDFViewer.rotateTo(), and related APIs for page position, zoom, and view rotation.
  • Text selection: Use TextSelectionTool.getSelectionInfo() to read selected text and selection rectangles, or TextSelectionTool.copy() to copy selected text.
  • Snapshot tool: Capture page regions, copy snapshots, or upload snapshot images.
  • Text-to-speech: Read document content through reading-aid capabilities.

To read page text or character geometry, see Text extraction. To search by keyword, see Text search.