This document is archived and information here might be outdated. Recommended version. |
Lets the constructor know the annotation is about to be stored.
[Visual Basic .NET] Public Sub BeforeStoreAnnotation ( _ ByVal annotationFeature As IAnnotationFeature, _ ByVal sketchGeometry As IGeometry _ )
[C#] public void BeforeStoreAnnotation ( IAnnotationFeature annotationFeature, IGeometry sketchGeometry );
Use BeforeStoreAnnotation to apply changes to the annotation feature being created before it is stored in the Geodatabase. At this time the location of the feature should be updated from its initial position if required. BeforeStoreAnnotation is called automatically when IAnnotationConstructor::CanFinish returns True.