TextRunProps Interface

JSON representation of a TextRun.

Extends

Properties

Name Type Description
baselineShift BaselineShift | undefined Whether to display content as a subscript, superscript, or normally.  
content string | undefined The characters displayed by the run.  
type Readonly "text" Discriminator field for the RunProps union.  

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