-
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 tonil
, meaning the cell is emptyalignment
PDFTableCellAignment
setting the alignment position of the content, defaults to.center
style
PDFTableCelStyle
for overwriting table wide styling for this particular cell, defaults tonil
-
Compares two instances of
PDFTableCell
for equalityDeclaration
Swift
override public func isEqual(to other: PDFDocumentObject) -> Bool
Parameters
lhs
One instance of
PDFTableCell
rhs
Another instance of
PDFTableCell
-
Undocumented
Declaration
Swift
override public func hash(into hasher: inout Hasher)