This document is archived and information here might be outdated.  Recommended version.

IDraw Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDraw Interface
ArcGIS Developer Help

IDraw Interface

Provides access to members that control drawing.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Name Description
Read-only property ClipRegion Clipping region (polygon or envelope). Use after StartDrawing and before FinishDrawing.
Read/write property CustomProperty Custom property.
Method Draw Draws the specified shape.
Method FinishDrawing Complete drawing.
Method SetSymbol Sets the symbol used for drawing. Four different symbols can be specified simultaneously: Marker, Line, Fill, Text.
Method StartDrawing Prepares the display for drawing. Specify the device context and the cache to draw to (normally esriNoScreenCache).

Classes that implement IDraw

Classes Description
AppDisplay (esriArcMapUI) Esri Display.
ScreenDisplay Display class for drawing to window.
SimpleDisplay Display class for drawing to any HDC.