ComponentOne PDF for WPF and Silverlight
DrawPolygon Method (C1PdfDocument)

C1.Silverlight.Pdf.5 Assembly > C1.Silverlight.Pdf Namespace > C1PdfDocument Class : DrawPolygon Method
Pen object that determines the color, width, and style of the polygon.
Array of point structures that represent the vertices of the polygon.
Draws a polygon defined by an array of point structures.
Syntax
'Declaration
 
Public Sub DrawPolygon( _
   ByVal pen As Pen, _
   ByVal points() As Point _
) 
public void DrawPolygon( 
   Pen pen,
   Point[] points
)

Parameters

pen
Pen object that determines the color, width, and style of the polygon.
points
Array of point structures that represent the vertices of the polygon.
Remarks
All coordinates are expressed in points, measured from the upper-left corner of the page.
See Also

Reference

C1PdfDocument Class
C1PdfDocument Members