@jsfkit/types
    Preparing search index...

    Type Alias TextBody

    Text body container.

    Defines the text content within a shape, including paragraphs and formatting properties such as alignment, overflow behavior, columns, rotation, and insets.

    type TextBody = {
        anchor?: TextAnchoring;
        anchorCtr?: boolean;
        horzOverflow?: TextHorzOverflow;
        inset?: InsetRect;
        numCol?: number;
        p: Paragraph[];
        rot?: DmlAngle;
        rtlCol?: boolean;
        spcCol?: PositiveCoordinate;
        spcFirstLastPara?: boolean;
        upright?: boolean;
        vert?: TextVerticalType;
        vertOverflow?: TextVertOverflow;
        wrap?: TextWrapping;
    }
    Index

    Properties

    anchor?: TextAnchoring

    Vertical anchoring/alignment of text within the shape.

    "t"
    
    anchorCtr?: boolean

    Whether text is centered at the anchor point.

    false
    
    horzOverflow?: TextHorzOverflow

    Horizontal overflow behavior.

    "overflow"
    
    inset?: InsetRect

    Defines an inset or internal margins for a text box within a shape.

    numCol?: number

    Number of text columns.

    1
    

    Array of paragraphs containing the text content.

    rot?: DmlAngle

    Text rotation in 60,000ths of a degree (e.g., 5400000 = 90 degrees).

    0
    
    rtlCol?: boolean

    Whether columns flow right-to-left.

    false
    

    Spacing between columns in EMUs.

    0
    
    spcFirstLastPara?: boolean

    Whether to apply spacing before first and after last paragraph.

    false
    
    upright?: boolean

    Keep text upright regardless of shape rotation.

    false
    

    Text orientation is vertical (top-to-bottom).

    "horz"
    
    vertOverflow?: TextVertOverflow

    Vertical overflow behavior.

    "overflow"
    

    Text wrapping behavior.

    "square"