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


esriViewDrawPhase Constants (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

esriViewDrawPhase Constants

View draw phase options.

Constant Value Description
esriViewNone 0 Draws nothing.
esriViewBackground 1 Draws the background.
esriViewGeography 2 Draws the geography.
esriViewGeoSelection 4 Draws the selected geography.
esriViewGraphics 8 Draws the annotation.
esriViewGraphicSelection 16 Draws the selected annotation.
esriViewForeground 32 Draws the foreground.
esriViewInitialized 64 View initialized: AfterDraw event only.
esriViewAll 255 Draws everything.

Product Availability

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

See Also

IActiveView.Refresh Method | esriViewDrawPhase Constants | IActiveView.ScreenCacheID Property | IActiveView.PartialRefresh Method | IScreenDisplay.Invalidate Method

.NET Snippets

Add Event Wiring for All IActiveViewEvents

.NET Samples

Dynamic logo (Code Files: DynamicLogo) | Cut polygons without selection edit task (Code Files: CutPolygonsWithoutSelectionEditTask) | Use a PageLayoutControl as an overview window (Code Files: Overview) | Custom reshape polyline edit task (Code Files: ReshapePolylineEditTask) | ArcGIS Network Analyst extension Engine application (Code Files: frmMain) | Layer property page and property sheet (Code Files: LayerVisibilityPage) | Modify the appearance of the PageLayoutControl's page (Code Files: PageAppearance) | ViperPin tool (Code Files: ViperPinForm) | Brushing to create a selection (Code Files: BrushingVB) | Change layer rendering using the SymbologyControl (Code Files: LayerRendering) | Control text symbols using the SymbologyControl (Code Files: TextSymbols) | Geoevents in a MapControl (Code Files: GeoEvents) | Move a graphic along a path in ArcMap (Code Files: MapGraphicKeyframe) | Building a MapViewer application using the ArcGIS Engine controls (Code Files: MapViewer) | Implementing a property page for an ArcGIS Engine application (Code Files: FeatureLayerSymbology) | Enable layer drag and drop in the TOCControl (Code Files: LayerDragDrop) | RSS weather layer (Code Files: AddRSSWeatherLayer WeatherItemSelectionDlg) | Retrieve a color ramp from the SymbologyControl (Code Files: ColorRamps) | Update a frame's background, border, and shadow using the SymbologyControl (Code Files: FrameProperties) | Controls commands environment (Code Files: CommandsEnvironment) | Update a legend format with SymbologyControl area and line patches (Code Files: AreaLinePatches) | Draw text on a MapControl (Code Files: DrawText) | Temporal statistics (Code Files: MainForm)

.NET Related Topics

Adjusting feature locations with spatial adjustment | Building a map viewing application using the ArcGIS Engine controls | Building custom UI elements using add-ins | Create a custom tool | Creating and working with basemap layers | How to create map grids | How to wire custom events using IActiveViewEvents | Selection trackers | Working with map elements | Working with map surrounds | Working with PageLayout elements