ESRI.ArcGIS.Mobile
DrawPolygon(Pen,SolidBrush,Polygon) Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile Namespace > Display Class > DrawPolygon Method : DrawPolygon(Pen,SolidBrush,Polygon) Method

pen
Pen object that determines the color and style of the polygon.
brush
Brush object that determines the color of the fill.
polygon
A polygon object.
Draws a polygon using the specified pen and brush.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub DrawPolygon( _
   ByVal pen As Pen, _
   ByVal brush As SolidBrush, _
   ByVal polygon As Polygon _
) 
C# 
public void DrawPolygon( 
   Pen pen,
   SolidBrush brush,
   Polygon polygon
)

Parameters

pen
Pen object that determines the color and style of the polygon.
brush
Brush object that determines the color of the fill.
polygon
A polygon object.

Exceptions

ExceptionDescription
ArgumentNullExceptionNull polygon to be drawn.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also