Point Editor


The Point Editor Tool provides access to the X,Y, Z, and M-coordinates (where applicable) for a selected point while in an edit session. Using the Point Editor window (which is a dockable window), the coordinates may be modified. Once modified, hitting 'Apply' on the Point Editor Window updates the feature within an Edit Operation, which can be accessed through the Undo/Redo functions. For M-values, leaving the textbox blank will drop the existing M-value when Apply is executed.

How to use:
  1. Browse and select the PointEditor.dll using the 'Add From File' button on the customization dialog.
  2. Run Categories.exe and add cmdPointEditor to the 'ESRI MxCommands' component category, then add PtEditorWin to the 'ESRI Mx Dockable Windows' component category.
  3. From the 'Developer Samples' commands category, add 'Point Editor' to the Editor toolbar.
  4. Select one editable point feature.
  5. Click the Point Editor button you just added to the Editor Toolbar.
  6. Change the point's coordinate information in the textboxes.
  7. Hit 'Apply' to apply the information in the textboxes to the point feature.


Requires: An edit session.

Difficulty: Intermediate

Visual Basic
File Description
PointEditor.cls Class file demonstrating how to alter the point feature .
PtEditorWin.cls Class file defining the dockable window.
PointEditor.vbp The project file for the sample command.
PointEditor.dll The compiled project.

Key CoClasses: Editor
Key Interfaces: IEditor, IEditEvents, IFeature, IMAware, IPoint, ISpatialReference, IZAware
Key Members: , IFeature::Store, IMAware::DropMs, IMAware::MAware, IMAware::MSimple, IZAware::ZAware, ISpatialReference::GetMDomain, ISpatialReference::GetXYDomain, ISpatialReference::GetZDomain