property height

(r/w) int32 height;

Typ

Zugriff

This property sets and gets the height of the box. Note: For boxes that are fixed position, height can be specified in pixel coordinates, percentage (of parent), or with the "auto" keyword. For flowed boxes, percentage units are not supported and are interpreted as pixel dimensions.

function GetBoxHeight()
{
    var bx = scene.getBoxById("myBox");
    if (bx)
    {
        shell.print ("height: " + bx.height);
    }
}