You are here: Symbol Reference > Stimulsoft.Base.Drawing Namespace > StiDrawing Class > StiDrawing Methods > DrawRectangle Method > DrawRectangle Method (Graphics, Color, double, double, double, double)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
StiDrawing.DrawRectangle Method (Graphics, Color, double, double, double, double)

Draws a rectangle specified by a coordinate pair, a width, and a height.

Syntax
C++
C#
Visual Basic
public: void DrawRectangle( Graphics g, Color color, double x, double y, double width, double height );
Parameters
Parameters 
Description 
The Graphics to draw on. 
color 
Color to draw Rectangle. 
The x-coordinate of the upper-left corner of the rectangle to draw. 
The y-coordinate of the upper-left corner of the rectangle to draw. 
width 
The width of the rectangle to draw. 
height 
The height of the rectangle to draw. 
Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.