Skip to content

PDFFlowTableColumn

Namespace: O2S.Components.PDF4NET.FlowDocument

Defines a column in a PDFFlowTableContent object.

public class PDFFlowTableColumn

Inheritance ObjectPDFFlowTableColumn

Constructors

PDFFlowTableColumn()

Initializes a new PDFFlowTableColumn object.

public PDFFlowTableColumn()

PDFFlowTableColumn(PDFFlowTableColumn)

Initializes a new PDFFlowTableColumn object from another column.

public PDFFlowTableColumn(PDFFlowTableColumn source)

Parameters

source PDFFlowTableColumn
Source column.


PDFFlowTableColumn(Double)

Initializes a new PDFFlowTableColumn object.

public PDFFlowTableColumn(double width)

Parameters

width Double
Column width.


PDFFlowTableColumn(Double, Boolean)

Initializes a new PDFFlowTableColumn object.

public PDFFlowTableColumn(double width, bool widthIsRelativeToTable)

Parameters

width Double
Column width.

widthIsRelativeToTable Boolean
True if the width is relative to table, false if it is an absolute value.


PDFFlowTableColumn(Double, PDFGraphicAlign, PDFGraphicAlign, PDFBrush)

Initializes a new PDFFlowTableColumn object.

public PDFFlowTableColumn(double width, PDFGraphicAlign horizontalAlign, PDFGraphicAlign verticalAlign, PDFBrush background)

Parameters

width Double
Column width.

horizontalAlign PDFGraphicAlign
Horizontal align for cells in the column

verticalAlign PDFGraphicAlign
Vertical align for cells in the column

background PDFBrush
Background for cells in the column.


Properties

Background

Gets or sets the column background.

public PDFBrush Background { get; set; }

Property Value

PDFBrush
A PDFBrush object that specifies how the column background is filled.


HorizontalAlign

Gets or sets the horizontal align.

public PDFGraphicAlign HorizontalAlign { get; set; }

Property Value

PDFGraphicAlign
The default horizontal alignment for the cells in the column.


VerticalAlign

Gets or sets the vertical align.

public PDFGraphicAlign VerticalAlign { get; set; }

Property Value

PDFGraphicAlign
The default vertical alignment for the cells in the column.


Width

Gets or sets the column width.

public double Width { get; set; }

Property Value

Double
The width of the column, as an absolute value or percentage relative to table width.


WidthIsRelativeToTable

Gets or sets a flag indicating whether the PDFFlowTableColumn.Width value is absolute or percentage relative to table width.

public bool WidthIsRelativeToTable { get; set; }

Property Value

Boolean
True if the PDFFlowTableColumn.Width is relative, false otherwise. Default is false.