Skip to content

PDFFlowTableFormXObjectCell

Namespace: O2S.Components.PDF4NET.FlowDocument

Defines a cell that contains a PDFFormXObject instance.

public class PDFFlowTableFormXObjectCell : PDFFlowTableCell

Inheritance ObjectPDFFlowTableCellPDFFlowTableFormXObjectCell

Constructors

PDFFlowTableFormXObjectCell()

Initializes a new PDFFlowTableFormXObjectCell object.

public PDFFlowTableFormXObjectCell()

PDFFlowTableFormXObjectCell(PDFFormXObject)

Initializes a new PDFFlowTableFormXObjectCell object.

public PDFFlowTableFormXObjectCell(PDFFormXObject content)

Parameters

content PDFFormXObject
The cell content.


PDFFlowTableFormXObjectCell(PDFFlowTableFormXObjectCell)

Initializes a new PDFFlowTableFormXObjectCell object with a copy of another cell.

public PDFFlowTableFormXObjectCell(PDFFlowTableFormXObjectCell source)

Parameters

source PDFFlowTableFormXObjectCell
Source cell.


Properties

Background

Gets or sets the cell background.

public PDFBrush Background { get; set; }

Property Value

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


Borders

Gets or sets the cell borders.

public PDFFlowContentBorders Borders { get; set; }

Property Value

PDFFlowContentBorders
A PDFFlowContentBorders object specifying how the top, right, bottom and left borders are drawn.


ColSpan

Gets or sets the number of columns this cell spans on.

public uint ColSpan { get; set; }

Property Value

UInt32
The number of columns on which this cell spans.


Content

Gets or sets the cell content.

public PDFFormXObject Content { get; set; }

Property Value

PDFFormXObject
The form XObject displayed in the cell.


FormXObjectHeight

Gets or sets the form XObject height.

public double FormXObjectHeight { get; set; }

Property Value

Double
The height of the form XObject displayed in the cell.

Remarks

If this value is 0, the height is computed automatically based on form XObject width in order to keep the original form XObject aspect ratio.


FormXObjectWidth

Gets or sets the form XObject width.

public double FormXObjectWidth { get; set; }

Property Value

Double
The width of the form XObject displayed in the cell.

Remarks

If this value is 0, the width is computed automatically based on form XObject height in order to keep the original form XObject aspect ratio.


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.


InnerMargins

Gets or sets the cell inner margins.

public PDFFlowContentMargins InnerMargins { get; set; }

Property Value

PDFFlowContentMargins
A PDFFlowContentMargins object specifying the cell inner margins.


Row

Gets the row this cell belongs to.

public PDFFlowTableRow Row { get; internal set; }

Property Value

PDFFlowTableRow
The row that owns the cell.


RowSpan

Gets or sets the number of rows this cell spans on.

public uint RowSpan { get; set; }

Property Value

UInt32
The number of rows on which this cell spans.


StructureElement

Gets or sets the structure element.

public PDFStructureElement StructureElement { get; set; }

Property Value

PDFStructureElement
The PDFStructureElement object associated with this cell object.


Tag

Gets or sets an arbitrary object value that can be used to store custom information about this element.

public object Tag { get; set; }

Property Value

Object
The intended value.

Remarks

This property is analogous to Tag properties in other Microsoft programming models. Tag is intended to provide a pre-existing property location where you can store some basic custom information about any PDFFlowContent without requiring you to subclass a cell object.


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.