C1.WPF.Word.4.6.2 Assembly / C1.WPF.Word Namespace / C1WordDocument Class / DrawRectangle Method / DrawRectangle(Pen,Double,Double,Double,Double) Method
The drawing pen.
The x (top-left corner) coordinate.
The y (top-left corner) coordinate.
The width of the rectangle.
The height of the rectangle.

In This Topic
DrawRectangle(Pen,Double,Double,Double,Double) Method
In This Topic
Draw rectangle from this document.
Syntax
'Declaration
 
Public Overloads Sub DrawRectangle( _
   ByVal pen As Pen, _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal width As Double, _
   ByVal height As Double _
) 
 

Parameters

pen
The drawing pen.
x
The x (top-left corner) coordinate.
y
The y (top-left corner) coordinate.
width
The width of the rectangle.
height
The height of the rectangle.
See Also