PdfViewState
Scroll, zoom, search, and render-cache state for PdfView.
Properties
Zero-based index of the first visible page.
Horizontal scroll state used when a zoomed page is wider than the viewport.
Vertical lazy-list state backing the page list.
Search results ordered by page and match position.
Lifecycle state of the active document search.
Currently selected result, or null when the result list is empty.
Index of the selected result, or -1 when there is no result.
Functions
Smoothly places pageIndex at the requested list offset.
Smoothly scrolls result to its position inside the PDF page.
Releases all cached page images without changing scroll or zoom.
Cancels the active search state and removes every highlight.
Immediately places pageIndex at the requested list offset.
Immediately scrolls result to its position inside the PDF page.
Searches every page in document.
Selects the next result, optionally wrapping to the first result.
Selects the previous result, optionally wrapping to the last result.
Selects and returns the result at index without scrolling.
Sets an absolute zoom value within the supported range.