Inserting Annotations
To insert an annotation, call one of the AnnotationTemplate.InsertReference() methods. They all require an ObjectId or ObjectIdCollection as parameter, to identify the drawing objects to be annotated.
This creates a block reference in the drawing. It evaluates the annotation expressions and uses the results to set the text or other properties of the reference.
An inserted annotation reference can also have overrides that change the display properties. See Annotation Overrides for details.