This document is archived and information here might be outdated. Recommended version. |
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.