ccposton

Implementing IAnnotationExpressionParser2, how can I cull small features?

Discussion created by ccposton on Sep 18, 2012
I'm doing a potentially expensive operation in the FindLabel method of my IAnnotationExpressionParser2 implementation. I'd like to prevent that operation from running if the feature looks small in the current view (i.e. zoomed out) and won't get a label displayed anyway. How can I retrieve that information?

This are the parameters that FindLabel takes:

public string FindLabel(ESRI.ArcGIS.Geodatabase.IFeature feature, ILayerFields layerFields)



Thanks!
George Faraj

Outcomes