SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Function layoutColumns

    • Lays out stacked columns within a content box.

      Parameters

      • columns: readonly (readonly string[])[]

        The columns' slot glyphs, in reading order (see toColumns). Leading and trailing spaces are trimmed here — Excel measures them but does not paint them.

      • pitch: number

        The slot pitch (the font's line height); also the column width.

      • content: Bounds

        The content box (cell box minus insets), in the caller's coordinate space.

      • horizontal: ITextFrame.HorizontalAlignment

        The resolved horizontal alignment (General already resolved). Places the group of columns: Left/Justify at the left edge, Right at the right edge, otherwise centered.

      • vertical: ITextFrame.VerticalAlignment

        The vertical alignment, applied to EACH column: Top/Justify hug the top edge, Center/Distributed center, Bottom (the default) hugs the bottom.

      Returns StackedLayout