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


IGraphicTracker.SuspendUpdate Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (EngineCore)  

IGraphicTracker.SuspendUpdate Property

Disables automatic refreshing of the display until unsuspended or until the display is explicitly refreshed. Suspending automatic refresh is ideal before bulk updates.

[Visual Basic .NET]
Public Property SuspendUpdate As Boolean
[C#]
public bool SuspendUpdate {get; set;}
[C++]
HRESULT get_SuspendUpdate(
  VARIANT_BOOL* SuspendUpdate
);
[C++]
HRESULT put_SuspendUpdate(
  VARIANT_BOOL SuspendUpdate
);
[C++]

Parameters SuspendUpdate [out, retval] SuspendUpdate is a parameter of type VARIANT_BOOL SuspendUpdate [in] SuspendUpdate is a parameter of type VARIANT_BOOL

Product Availability

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

Description

Suspends update (i.e refresh) of the display. This property is false by default. This means the GraphicTracker will automatically refresh the display after each graphic is changed.
Setting this property to true, moving the graphics and then setting this property to false will result in one refresh call and will draw all graphics at once. In an dynamic map, this property is not relevant.

See Also

IGraphicTracker Interface