atomaly

feature.Store() label not updating when it's a polygon.. C#.net Arcgis Engine

Discussion created by atomaly on Oct 9, 2012
Latest reply on Feb 20, 2013 by Neil
Hi I'm using Arcgis Engine to create my geometry into one of my featureLayer's

IFeatureClass m_featureClass = featureLayer.FeatureClass;           
IFeature feature = m_featureClass.CreateFeature();
feature.Shape = geometry;   //  this is an IGeometry
feature.Store();


that works fine for Point and Line Class, and the labels update perfectly in the map, but when writing a Polygon
the feature stores and displays, but however is missing the Label...
am i missing something special I should be doing for the Polygon's ?

I tried to turn on and off labels in ArcMap in the mxd.. but the labels are still not showing up for those specific Polygon's I draw with my arcGIS engine tool....

I've also tried starting an Edit Session, and stopping an Edit Session when storing the feature (makes no difference)... and i've tried refresh(), partialRefresh(), and Invalidate() to get them to draw...

any help would be greatly appreciated :)

Tomas

Outcomes