PDFTableCell

public class PDFTableCell : PDFDocumentObject

An instance of a table cell

  • Content of this cell, can be different kinds of data inside a PDFTableContent object.

    Might be nil, meaning the cell can be empty.

    Declaration

    Swift

    public var content: PDFTableContent?
  • Custom style of this particular cell

    Declaration

    Swift

    public var style: PDFTableCellStyle?
  • Alignment of content inside cell

    Declaration

    Swift

    public var alignment: PDFTableCellAlignment
  • Creates a new cell with the optionally given content, alignment and style.

    If none are given, see defaults.

    Declaration

    Swift

    public init(content: PDFTableContent? = nil, alignment: PDFTableCellAlignment = .center, style: PDFTableCellStyle? = nil)

    Parameters

    content

    PDFTableContent holding different kinds of data, defaults to nil, meaning the cell is empty

    alignment

    PDFTableCellAignment setting the alignment position of the conten

    style

    PDFTableCelStyle for overwriting table wide styling for this particular cell

Equatable