A custom page-layout function (see PdfrxViewerOptions.layoutPages).
Given the page geometries and the resolved margin, it returns a
PageLayout: each page's rect in document coordinates (y-down) and the
total document size. @pdfrx/viewer-core exports layoutPagesVertical /
layoutPagesHorizontal as ready-made implementations and building blocks.
A custom page-layout function (see PdfrxViewerOptions.layoutPages). Given the page geometries and the resolved margin, it returns a PageLayout: each page's rect in document coordinates (y-down) and the total document size.
@pdfrx/viewer-coreexportslayoutPagesVertical/layoutPagesHorizontalas ready-made implementations and building blocks.