Enumerations

The following enumerations are available globally.

  • A container defines the position of an element in the page.

    Generally a document is vertically split up into a header, a content and a footer area. Also each part is horizontally split up into a left, a center and a right area.

    See more

    Declaration

    Swift

    public enum PDFContainer
  • Constants defining scaling behaviour of an image, if not enough space to render full size is given.

    See more

    Declaration

    Swift

    public enum PDFImageSizeFit
  • These types of lines are available for rendering

    • full: Line without any breaks
    • dashed: Line consists out of short dashes
    • dotted: Lines consists out of dots
    See more

    Declaration

    Swift

    public enum PDFLineType
  • Use predefined pagination styles or create a custom one, using .CustomNumberFormat or .CustomClosure.

    Enums using a template String as parameter will replace the first instance of %@ with the index and the second one with the total amount of pages.

    See more

    Declaration

    Swift

    public enum PDFPaginationStyle: PDFJSONSerializable
  • A section container defines the position of an element in a column of a given container.

    See more

    Declaration

    Swift

    public enum PDFSectionColumnContainer