[Visual Basic] Sub Resize(w As Double, h As Double)
Sub Resize(w As Double, h As Double, corner as Corner)
The new width.
The new height.
The corner to pin.
Changes the width and height of the rectangle while maintaining
When you change the width or height of a rectangle one corner of
the rectangle is pinned to maintain position. The corner which is
pinned is indicated by the Pin property but you can override
this default by specifying a corner when calling this function.