Change the size of the Rect. Override this method to handle resizing the contents
as required.
| C# | Visual Basic | Visual C++ |
public virtual void ReSize( Graphics g, RectangleF rect )
Public Overridable Sub ReSize ( _ g As Graphics, _ rect As RectangleF _ )
public: virtual void ReSize ( Graphics^ g, RectangleF rect )
- g (Graphics)
- A graphic device object to be drawn into. This is normally e.Graphics from the PaintEventArgs argument to the Paint() method.
- rect (RectangleF)
- The new size for the Rect.
