mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #116: Navigate to text
This commit is contained in:
@ -288,6 +288,11 @@ public:
|
||||
/// \param pageIndex Page to scroll to
|
||||
void goToPage(PDFInteger pageIndex);
|
||||
|
||||
/// Go to the specified page and ensures point on the page is visible
|
||||
/// \param pageIndex Page to scroll to
|
||||
/// \param ensureVisibleRect Rectangle on page, which should be visible
|
||||
void goToPageAndEnsureVisible(PDFInteger pageIndex, QRectF ensureVisibleRect);
|
||||
|
||||
/// Returns current zoom from widget space to device space. So, for example 2.00 corresponds to 200% zoom,
|
||||
/// and each 1 cm of widget area corresponds to 0.5 cm of the device space area.
|
||||
PDFReal getZoom() const { return m_zoom; }
|
||||
|
Reference in New Issue
Block a user