This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > ID > IDimensionEditExtension Interface > IDimensionEditExtension.Editor Property (ArcObjects .NET 10.4 SDK) |
The editor application extension.
[Visual Basic .NET] Public ReadOnly Property Editor As IEditor
[C#] public IEditor Editor {get;}
Use the Editor to provide quick access the ArcMap Editor. This is particularly useful to QI to Editor::IEditLayers to get the IEditLayers::CurrentLayer. Once you have the CurrentLayer you can access its DimensionClassExtension to retrieve IDimensionClassExtension::ReferenceScaleUnits and IDimensionClassExtension::ReferenceScale. These properties are helpful when building a custom dimension constructor.