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

IDisplayTransformation.SuppressEvents Property (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDisplayTransformation Interface > IDisplayTransformation.SuppressEvents Property
ArcGIS Developer Help

IDisplayTransformation.SuppressEvents Property

Indicates if transformation object suppresses events.

[Visual Basic .NET]
Public Property SuppressEvents As Boolean
public bool SuppressEvents {get; set;}
HRESULT get_SuppressEvents(
  Boolean* SuppressEvents
HRESULT put_SuppressEvents(
  VARIANT_BOOL SuppressEvents
SuppressEvents [out, retval]

SuppressEvents is a parameter of type bool* SuppressEvents [in]
SuppressEvents is a parameter of type bool

Product Availability

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


SuppressEvents on IDisplayTransformation prevents events collected under ITransformEvents from being fired.

For example, IScreenDisplay::StartDrawing sets SuppressEvents to TRUE and FinishDrawing sets it back to FALSE, this prevents all transform events from firing during the drawing. 

SuppressEvents is set to FALSE by default.

See Also

IDisplayTransformation Interface