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 to replace the contents of the specified TextBlocks.  

Defined in

Last Updated: 29 July, 2025