Draws specified polygon on the display.
[Visual Basic 6.0]
Sub DrawPolygon(
ByVal polygon As IGeometry _
)
[Visual Basic .NET]
Public Sub DrawPolygon ( _
ByVal polygon As IGeometry _
)
[C#]
public void DrawPolygon (
IGeometry polygon
);
[Java]
public void drawPolygon (
IGeometry polygon
)
throws
IOException,
AutomationException
[C++]
HRESULT DrawPolygon(
IGeometry* polygon
);
[C++]
Parameters
polygon [in]
polygon is a parameter of type IGeometry
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
DrawPolygon draws a Polygon object with the symbol that must be specified before hand with the SetSymbol method. All draw methods must be enclosed between the calls to StartDrawing and FinishDrawing unless you are drawing in response to the IActiveViewEvents::AfterDraw event.
See Also
IDisplay Interface | IDisplay.StartDrawing Method
Send feedback on this page