pageRect

Typeproperty
Dictionarywidget.pdf
LibraryPDF
Syntax
get the pageRect of <widget>
set the pageRect of <widget> to <rect>
Associationscom.livecode.widget.pdf
Summary

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

EditionPro
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
RelatedProperty: pageDisplay
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"