public method TableBuilder.SetHeaderRowStyleBackColor

Brief

Sets the background color for the header row style.

Declaration
C#
Gehtsoft.PDFFlow.Builder.TableBuilder  SetHeaderRowStyleBackColor (Gehtsoft.PDFFlow.Models.Shared.Color color)

Parameters
color

The background color.
The color can be specified using a system-defined color (for example, Color.Yellow), can be translated from an HTML color code using the method Color.FromHtml, or created from RGBA values using the method Color.FromRgba.
The RGBA red, green, blue, and alpha components must have values between 0.0f (0%, 0 byte value) and 1.0f (100%, 255 byte value). The alpha component is optional, its value is 1.0f by default, which means that the color is fully opaque.

Details

This method allows you to set the background color for all header rows of the table. If no style is applied to the header rows, the library applies the default header row style and applies the specified background color to this style. If some style is applied to the header rows, the library applies the specified background color to this style.

Declared in TableBuilder

back