Hi,
I have AnnotationLayer and polygon geometry, how can I create new graphic polygon element and store to new annotation feature(create new annotation)? Can you help me ?There is no any example .
Thanks.
Thanks Craig,
Do you have any information about when to release ArcGIS Pro SDK 2.1? And can it create an annotation with the (polygon, polyline, text) element or group element ( like below Arcobjects annotation in picture) in it in Pro SDK 2.1? İf not, are there any alternative way to store this kind of elements in Pro SDK ?
ArcObjects:
IFeatureLayer featureLayer=Utility.GetAnnotationFeatureLayer("ANNOTATIONFC", map);
IFeature feature = featureLayer.FeatureClass.CreateFeature();
(feature as IAnnotationFeature).Annotation = groupElement as IElement;
feature.Store();
Best Regards.
Annotation in ArcGIS Pro only supports Text Graphics and the current released version doesn't have SDK abilities to update annotation. Annotation SDK support is coming at the 2.1 release.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.