How can i get the rectangle boundary of an annotation object using ArcObjects? Once we select an object on the map, there is a boundary as shown in the first picture. Also is there an option to get the minimum rectangle that covers the text as shown in second picture?
IAnnotationFeature annoFeature; annoFeature.Annotation.Geometry;
but this only gives me a polyline geometry which seems to be the baseline of text