ImageMan.Net Version 3 Summer 2012 Release
DrawPolygon(Pen,Point[]) Method
See Also  Send Feedback
DTI.ImageMan Namespace > ImGraphic Class > DrawPolygon Method : DrawPolygon(Pen,Point[]) Method





pen
Pen color and width
points
An array of points describing the circumference of the Polygon.

Glossary Item Box

Draw a Polygon. Uses default method of winding.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub DrawPolygon( _
   ByVal pen As System.Drawing.Pen, _
   ByVal points() As System.Drawing.Point _
) 
Visual Basic (Usage)Copy Code
Dim instance As ImGraphic
Dim pen As System.Drawing.Pen
Dim points() As System.Drawing.Point
 
instance.DrawPolygon(pen, points)
C# 
public void DrawPolygon( 
   System.Drawing.Pen pen,
   System.Drawing.Point[] points
)
JScript 
public function DrawPolygon( 
   pen : System.Drawing.Pen,
   points : System.Drawing.Point[]
);
Managed Extensions for C++ 
public: void DrawPolygon( 
   System.Drawing.Pen* pen,
   System.Drawing.Point[]* points
) 
C++/CLI 
public:
void DrawPolygon( 
   System.Drawing.Pen^ pen,
   System.Drawing.array<Point>^ points
) 

Parameters

pen
Pen color and width
points
An array of points describing the circumference of the Polygon.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.