PDFTableContent

public class PDFTableContent : CustomStringConvertible, Hashable
extension PDFTableContent: PDFTableContentable

Structure used to manage cell content

  • Creates a new table cell content wrapping the given `content

    Throws

    tableContentInvalid(value:) if the content has an unsupported type

    Declaration

    Swift

    public init(content: Any?) throws

    Parameters

    content

    Content of this cell, see ContentType for list of supported types.

Equatable

  • nodoc

    Declaration

    Swift

    public static func == (lhs: PDFTableContent, rhs: PDFTableContent) -> Bool

Hashable

PDFTableContentable

  • Casts this instance to a PDFTableContent

    Declaration

    Swift

    public var asTableContent: PDFTableContent { get }