pdfGetScrollX
Get the x coordinate of the current scroll position.
int pdfGetScrollX(PDFViewerHandle viewer)
This function returns the x coordinate of the current scroll position.
C:
/* this is equivalent to pdfScrollBy(viewer, dx, dy) */
pdfScrollTo(viewer, pdfGetScrollX(viewer) + dx,
pdfGetScrollY(viewer) + dy);