The ruler features in onscreen formatting,
that is when you are writing or editing your text, and in page formatting within the Compile / Formatting pane.
The two rulers are not linked. So you can set onscreen formatting to suit you while working on the manuscript, and set (different) page formatting for export purposes.
The ruler can appear at the top of a document, or be hidden.
Select Format / Show Ruler to...