This document is archived and information here might be outdated. Recommended version. |
Provides access to members that control the properties of an adjustment session.
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.
Name | Description | |
---|---|---|
DisplacementLinkSymbol | Symbol used to draw the displacement link. | |
IdentityLinkSymbol | Symbol used to draw the identity link. | |
LimitedAdjustmentAreaSymbol | Symbol used to draw the limited adjustment area. | |
NextLinkID | Link ID. | |
ResetLinkID | Reset link ID. |
CoClasses and Classes | Description |
---|---|
Adjustment | The Adjustment Tools Editor Extension. |
The IAdjustProperties interface is on the Adjustment CoClass.
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
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