ArcObjects Component Help  (Core)    

Adjustment CoClass

The Adjustment Tools Editor Extension.

Interfaces

Interfaces Description
IActiveViewEvents Provides access to events that occur when the state of the active view changes.
IAdjustLayers Provides access to members that control information about layers to be adjusted.
IAdjustment Provides access to members that control the behavior of the adjustment tools.
IAdjustProperties Provides access to members that control the properties of an adjustment session.
IConnectionPointContainer
IControlPointContainer Provides access to members that maintain control points.
IDocumentEvents Provides access to events that occur in ArcMap.
IEdgeMatchEnvironment Provides access to members that control the properties of edge match tool.
IEditEvents Provides access to editor events. Implement it to listen for specific events that occur during an edit session.
IEditEvents2 Provides access to more editor events. Implement it to listen for specific events that occur during an edit session.
IExtension Provides access to members that define an extension.
IPersist
IPersistStream

Event Interfaces

Interfaces Description
IControlPointContainerEvents (default) Provides access to events that occur when the control point container changes.

Remarks

The Adjustment object represents the Adjustment Tools extension to ArcMap.

To get a reference to the Adjustment extension, use IApplication::FindExtensionByCLSID or IApplication::FindExtensionByName. The following VBA code examples shows both methods being used to acquire a reference of type IAdjustment to the Adjustment object.

Sub GetEditorExtensionByCLSID()
  Dim pAdjustment As IAdjustment
  Dim pID As New UID
  pID = "esriCore.Adjustment"
  Set pAdjustment = Application.FindExtensionByCLSID(pID)
End Sub

Sub GetEditorExtensionByName()
  Dim pAdjustment as IAdjustment
  Set pAdjustment = Application.FindExtensionByName("ESRI Adjustment Tools")
End Sub

Working with Events

[VB6]

When working with Adjustment's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pAdjustment as Adjustment