Page.GetSize

table Page.GetSize (

)

Description

Returns table containing the current page's pixel dimensions.

Note: If the application is running in kiosk mode, the dimensions of the entire "kiosk" will be returned, not the size of the page within the kiosk. Generally this will be the size of the screen.

Parameters

None.

Returns

(table) A table containing the current page's pixel dimensions, indexed by values "Width" and "Height". If an error occurs, nil is returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also: Related Actions