Overload | Description |
---|---|
DrawRect(Single,Single,Single,Single) | Draws a rectangular shape on the page at the specified coordinates. |
DrawRect(RectangleF) | Draws a rectangular shape on the page at the specified rectangle bounds. |
C# | Copy Code |
---|---|
private void arv_Load(object
sender, System.EventArgs e) |
Visual Basic | Copy Code |
---|---|
Private Sub arv_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles arv.Load |
Uses PenStyle, PenWidth and BackColor to draw the rectangle.
Units are determined by the Page.Units property.