setrectanglesize(
RECT
,
HEIGHT
,
WIDTH
)

The setrectanglesize( function changes the height and width of a rectangle, leaving the position of the top left hand corner unchanged.


Parameters

This function has three parameters:

rect – the original rectangle.

height – new height of the rectangle, in points.

width – new width of the rectangle, in points.


Description

This function changes the height and width of a rectangle, leaving the position of the top left hand corner unchanged. This example creates a rectangle that is 200 points high and 500 points wide, with the upper left hand corner in the same position as the upper left hand corner of the current window.

setrectanglesize(info("windowrectangle"),200,500)

Note: This function is equivalent to:

rectanglesize(rtop(therect),rleft(therect),theheight,thewidth)

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.