Skip to main content

pageRect

Type​

property

Summary​

The left,top,right,bottom rect of the current page relative to the card

Syntax​

get the pageRect of <widget>
set the pageRect of <widget> to <rect>

Description​

When setting the pageRect property the location is clamped to ensure the page is within the widget and the page is scaled proportionally. If no document is loaded empty will be returned.

The pageRect is empty if there is no documented loaded or the pageDisplay property is not "single"

property: pageDisplay

Compatibility and Support​

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile