ClassTableSegment
Segment that inserts a table into the PDF document
Definition
Namespace:Telerik.Documents.AI.Tools.Fixed.Core.Models.ContentSegments
Assembly:Telerik.Documents.AI.Tools.Fixed.Core.dll
Syntax:
public class TableSegment : ContentSegment
Inheritance: objectContentSegmentTableSegment
Constructors
TableSegment()
Declaration
public TableSegment()
Properties
FontSize
Font size for table text in points. Default is 10.
HeaderBackgroundColor
Background color for header row in hex format (e.g., '#F0F0F0'). Only applied if headers are provided.
Declaration
public string HeaderBackgroundColor { get; set; }
Property Value
HeaderFontSize
Font size for header text in points. Default is 12.
HeaderTextColor
Text color for header row in hex format (e.g., '#000000'). Only applied if headers are provided.
Headers
Optional array of header cells for the table. If provided, will be formatted differently from regular rows.
Rows
Array of table rows. Each row is an array of cell data (strings).
SegmentType
The type of content segment
Declaration
public override string SegmentType { get; }
Property Value
Overrides
ShowBorders
Whether the table should have borders. Default is true.