This document is archived and information here might be outdated.  Recommended version.


IAnnotationConstructor.BeforeStoreAnnotation Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Editor)  

IAnnotationConstructor.BeforeStoreAnnotation Method

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
);

Product Availability

Available with ArcGIS Desktop.

Remarks

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.

See Also

IAnnotationConstructor Interface