Layout

public struct Layout
extension Document.Layout: Decodable

The document’s layout, formed by an array of pages

  • Layout pages

    Declaration

    Swift

    public let pages: [Page]
  • A document’s page layout, indicating its size, textZones, regions and its page number

    See more

    Declaration

    Swift

    public struct Page : Decodable
  • A document’s page layout region, indicating its origin, size, type, lines and words

    See more

    Declaration

    Swift

    public struct Region : Decodable
  • A document’s page text zone, containing an array of regions

    See more

    Declaration

    Swift

    public struct TextZone : Decodable
  • Word contained within a text region

    See more

    Declaration

    Swift

    public struct Word : Decodable