ESRI.ArcGIS.Mobile
DrawGeometry Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile Namespace > MapSurface Class : DrawGeometry Method

pen
Pen object that determines the color and style of the polygon.
brush
Brush object that determines the color of the fill.
pointSize
The size, in pixels, that point geometry should be drawn.
geometry
A geometry object.
Draws the geometry using the specified pen and brush.

Syntax

Visual Basic (Declaration) 
Public Sub DrawGeometry( _
   ByVal pen As Pen, _
   ByVal brush As SolidBrush, _
   ByVal pointSize As Integer, _
   ByVal geometry As IGeometry _
) 
C# 
public void DrawGeometry( 
   Pen pen,
   SolidBrush brush,
   int pointSize,
   IGeometry geometry
)

Parameters

pen
Pen object that determines the color and style of the polygon.
brush
Brush object that determines the color of the fill.
pointSize
The size, in pixels, that point geometry should be drawn.
geometry
A geometry object.

Exceptions

ExceptionDescription
ArgumentNullExceptionNull geometry to be drawn.

Requirements

Target 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

© 2013 All Rights Reserved.