TextBlockProps Interface

JSON representation of a TextBlock.

Extends

Properties

Name Type Description
justification TextBlockJustification | undefined The alignment of the document content.  
margins Partial<TextBlockMargins> | undefined The margins to surround the document content.  
paragraphs ParagraphProps[] | undefined The paragraphs within the text block.  
styleId string The ID of an AnnotationTextStyle stored in the iModel from which the base TextStyleSettings applied to the TextBlock originates.  
width number | undefined The width of the document in meters.  

Inherited properties

Name Type Inherited from Description
styleOverrides Inherited TextStyleSettingsProps | undefined TextBlockComponentProps Deviations from the base TextStyleSettings defined by the AnnotationTextStyle applied to this component.

Defined in

Last Updated: 29 July, 2025