ITextAnnotation Interface

Interface implemented by GeometricElement subclasses whose schemas declare them to implement the mix-in BisCore:ITextAnnotation. Such elements may host any number of TextBlocks. ITextAnnotation provides a uniform way to interact with text regardless of the type of element to which it belongs.

Methods

Name Description
getTextBlocks(): Iterable<TextBlockAndId, any, any> Obtain a collection of all of the TextBlocks hosted by this element.  
updateTextBlocks(textBlocks: TextBlockAndId[]): void Update the element in-memory to replace the contents of the specified TextBlocks.  

Properties

Name Type Description
defaultTextStyle TextAnnotationUsesTextStyleByDefault | undefined The default AnnotationTextStyle used by the text annotation.  

Defined in

Last Updated: 07 October, 2025