ArcObjects Library Reference (EditorExt)  

IAdjustProperties Interface

Provides access to members that control the properties of an adjustment session.

Product Availability

Available with ArcGIS Desktop.

When To Use

The IAdjustProperties interface manages the generic properties of an adjustment session. These properties include the default symbology for newly created Links and LimitAdjustAreas as shown on the general tab of the Adjustment Properties dialog. Reference and apply these properties to programmatically created links and area.

Members

Description
Read/write property DisplacementLinkSymbol Symbol used to draw the displacement link.
Read/write property IdentityLinkSymbol Symbol used to draw the identity link.
Read/write property LimitedAdjustmentAreaSymbol Symbol used to draw the limited adjustment area.
Read-only property NextLinkID Link ID.
Method ResetLinkID Reset link ID.

CoClasses that implement IAdjustProperties

CoClasses and Classes Description
Adjustment The Adjustment Tools Editor Extension.

Remarks

The IAdjustProperties interface is on the Adjustment CoClass.

[C#]

The following example shows how to get reference to the current displacement link symbol in C#.

UID extUid = new UIDClass();
extUid.Value = "esriEditorExt.Adjustment";

//You can get app from ICommand :: OnCreate() hook parameter
IAdjustProperties adjustProp = app.FindExtensionByCLSID(extUid) as IAdjustProperties;

ESRI.ArcGIS.Display.ILineSymbol linkSymbol = adjustProp.DisplacementLinkSymbol
[Visual Basic .NET]

The following example shows how to get reference to the current displacement link symbol in VBNet.

  Public Sub GetLinkSymbol()
    'You can get app from ICommand :: OnCreate() hook parameter
    Dim extUid As UID = New UIDClass()
    extUid.Value = "esriEditorExt.Adjustment"
    Dim adjustProp As ESRI.ArcGIS.EditorExt.IAdjustProperties = TryCast(app.FindExtensionByCLSID(extUid), IAdjustProperties)
    Dim linkSymbol As ESRI.ArcGIS.Display.ILineSymbol = adjustProp.DisplacementLinkSymbol
  End Sub

.NET Related Topics

Adjusting feature locations with spatial adjustment |