rmapi-js
    Preparing search index...

    Class PageGeometry

    what places a page's points on the page as it is shown: its format version, the screen it was drawn on, and how far down it is written

    Get it from geometry, or from blank for a page with no .rm file, such as one with only highlights.

    Index
    • get formatVersion(): 3 | 5 | 6

      the .rm format version the page is written in: 3, 5 or 6

      Returns 3 | 5 | 6

    • get screen(): [width: number, height: number]

      the screen the page was drawn on, upright, in its pixels: the size it records, or the reMarkable 2's for a page that records none

      Returns [width: number, height: number]

    • the page's size as a document standing orientation shows it, taller than the screen for a version 6 page written further down than one screen; the size to lay its template out on

      Parameters

      Returns PageSize