SheetXL - v0.3.20
    Preparing search index...

    Interface ITextBoxAlignment

    Provided options for aligned text within a bounding box.

    interface ITextBoxAlignment {
        isITextBoxAlignment: true;
        getHorizontal(): ITextFrame.HorizontalAlignment;
        getIndent(): number;
        getJustifyLastLine(): boolean;
        getOverflow(): Overflow;
        getReadingDirection(): ReadingDirection;
        getRelativeIndent(): number;
        getRotation(): number;
        getStacked(): boolean;
        getVertical(): ITextFrame.VerticalAlignment;
        toJSON(): JSON;
    }
    Index

    Properties

    isITextBoxAlignment: true

    For runtime type checking.

    Methods

    • An integer value, where an increment of 1 represents 3 spaces. Indicates the number of spaces (of the normal style font) of indentation for text in a cell.

      Returns number

      This is only applied for alignments: left, right, and distributed.

    • If the cells justified or distributed alignment should be used on the last line of text. (This is typical for East Asian alignments but not typical in other contexts.)

      Returns boolean

    • Indicates additional number of spaces of indentation to adjust for text in a cell.

      Returns number

    • Rotation of the text.

      Returns number

      0
      
    • If the text should stack vertically instead of horizontally.

      Returns boolean

    • Returns JSON