setrectangleheight(
RECT
,
HEIGHT
)

The setrectangleheight( function changes the height of a rectangle, leaving the width unchanged.


Parameters

This function has two parameters:

rect – the original rectangle.

height – new height of the rectangle, in points.


Description

This function changes the height of a rectangle, leaving the width unchanged. This example returns a rectangle with the same width as the current window, but a height of 50 points.

setrectangleheight(info("windowrectangle"),50)

Note: This function is equivalent to:

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

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.