ComponentOne Excel for .NET
C1.Excel Assembly / C1.Util Namespace / GraphicsRendering Class / DrawRect Method
x-coordinate of rectangle.
y-coordinate of rectangle.
Rectangle width.
Rectangle height.

In This Topic
    DrawRect Method (GraphicsRendering)
    In This Topic
    Draw rectangle with current stroke and fill.
    Syntax
    'Declaration
     
    Public Sub DrawRect( _
       ByVal x As System.Double, _
       ByVal y As System.Double, _
       ByVal w As System.Double, _
       ByVal h As System.Double _
    ) 
    public void DrawRect( 
       System.double x,
       System.double y,
       System.double w,
       System.double h
    )

    Parameters

    x
    x-coordinate of rectangle.
    y
    y-coordinate of rectangle.
    w
    Rectangle width.
    h
    Rectangle height.
    See Also