I am still new to ArcEngine 10, I currently am able to create a feature layer that is associated with a feature class. Its a polygon layer. So I can create polygon, give it attritbute table and put it on a layer using UNIQUEVALUERENDERER.

My question is, is there a tool bar control, or any way I can MOVE or RESIZE my polygon easily. I current use "esriControls.ControlsSelectFeaturesTool" to select the tools. Is there an easy way to do this?

Thanks and Regards

1 Answer 1


You can use IFeatureSelection to get the selected Feature(s).

Then cast IFeature.Shape to ITransform2D, and call Scale, Move, etc.

Finally, call IFeature.Store to save he changed geometry.

  • So if i want to do it that way, it is best I create a custom toolbar control to do this? Have the features I want move selected and use this NEW tool to Scale and move it?
    – Kev84
    Mar 21, 2011 at 20:39
  • 1
    You can also just use the toolbar control "esriControls.ControlsEditingVertexMoveToCommand"
    – Kev84
    Mar 21, 2011 at 22:08
  • Yes, if you want to just move individual vertices, that would be the way to go. Mar 23, 2011 at 14:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.