composize
    Preparing search index...

    Function fillSolid

    • Creates a solid fill pattern object for use with Excel cell styling.

      Parameters

      • fgColor: string

        Foreground color as an 8-character ARGB hex string (required).

      • OptionalbgColor: string

        Optional background color as an 8-character ARGB hex string. If omitted, no background color is set.

      Returns FillPattern

      A FillPattern object configured with type "pattern", pattern "solid", fgColor set to the given foreground color, and bgColor set if provided.