Skip to content

@shbernal/pptxgenjs


@shbernal/pptxgenjs / index / TableStyleRegionProps

Interface: TableStyleRegionProps

Defined in: core-interfaces.ts:1468

Styling for one region of a custom table style (maps to a CT_TablePartStyle). A region (e.g. the header row or banded rows) is shown only when the matching TableProps flag is set — firstRow needs hasHeader, band1H/band2H need hasBandedRows, and so on.

See

TableStyleProps

Properties

bold?

optional bold?: boolean

Defined in: core-interfaces.ts:1481

Bold text.


border?

optional border?: BorderProps | [BorderProps, BorderProps, BorderProps, BorderProps]

Defined in: core-interfaces.ts:1489

Cell border(s).

  • single value is applied to all four sides plus the interior grid lines
  • array of values in TRBL order styles only the four outer sides

color?

optional color?: string

Defined in: core-interfaces.ts:1479

Text color (hex).

Example

ts
'FFFFFF'

fill?

optional fill?: string

Defined in: core-interfaces.ts:1474

Solid cell fill color (hex).

  • HexColor only; theme references are not supported in custom styles

Example

ts
'1A2B3C'

italic?

optional italic?: boolean

Defined in: core-interfaces.ts:1483

Italic text.