Created page with "Assigns the specified width to a rectangle with the specified ID number; returns a value of 0 if the line width was successfully assigned, and a value of -2 if the specified r..."
Assigns the specified width to a rectangle with the specified ID number; returns a value of 0 if the line width was successfully assigned, and a value of -2 if the specified rectangle ID number is invalid.
== Usage ==
<syntaxhighlight>RectangleSetSize(ID,LineWidth)</syntaxhighlight>
'''Where:'''
:''ID'' - a numerical expression specifying the rectangle ID number
:''LineWidth'' - a numerical expression specifying the rectangle width; rectangle width can range from 0 to 6
== Notes ==
A rectangle-specific ID number is returned by [[RectangleNew]] when the rectangle is created.
== Example ==
Assign the width of 5 to the rectangle with an ID number of 1:
<syntaxhighlight>Value1=RectangleSetSize(1,5);</syntaxhighlight>