Appearance
@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?
optionalbold?:boolean
Defined in: core-interfaces.ts:1481
Bold text.
border?
optionalborder?: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?
optionalcolor?:string
Defined in: core-interfaces.ts:1479
Text color (hex).
Example
ts
'FFFFFF'fill?
optionalfill?:string
Defined in: core-interfaces.ts:1474
Solid cell fill color (hex).
HexColoronly; theme references are not supported in custom styles
Example
ts
'1A2B3C'italic?
optionalitalic?:boolean
Defined in: core-interfaces.ts:1483
Italic text.