SetXYSize method

Sets the x-axis and y-axis bounds of the object to the specified size.

Syntax

void retVal = object.SetXYSize(width, height);

Parameters

  • width [in]
    Type: TYPE

    Width to set along the x-axis.

  • height [in]
    Type: TYPE

    Width to set along the y-axis.

Remarks

The minimum values of the x and y dimensions are set to zero; the maximum values are set to width and height, respectively. The z and t bounds are both set with minimum equal to zero and maximum equal to one.