ComponentOne Word for UWP
DrawRectangle(Pen,Double,Double,Double,Double) Method

C1.UWP.Word Assembly > C1.Xaml.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.
Draw rectangle from this document.
Syntax
'Declaration
 
Public Overloads Sub DrawRectangle( _
   ByVal pen As Pen, _
   ByVal x As System.Double, _
   ByVal y As System.Double, _
   ByVal width As System.Double, _
   ByVal height As System.Double _
) 
public void DrawRectangle( 
   Pen pen,
   System.double x,
   System.double y,
   System.double width,
   System.double height
)

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

Reference

C1WordDocument Class
C1WordDocument Members
Overload List