PDFExternalDocument

public class PDFExternalDocument

Document object used for including an external PDF document

  • url

    File URL to an external document

    Declaration

    Swift

    public private(set) var url: URL { get }
  • Array of page indicies which should be included from external documents

    Note

    An empty array will be result in all pages to be included.

    Declaration

    Swift

    public var pages: [Int]
  • Creates a new instance using the given url to locate and the pages parameter to select the pages.

    Declaration

    Swift

    public convenience init(url: URL, pages: Int...)

    Parameters

    url

    Location of file

    pages

    Variadic argument of page indicies

  • Creates a new instance using the given url to locate and the pages parameter to select the pages.

    Declaration

    Swift

    public init(url: URL, pages: [Int])

    Parameters

    url

    Location of file

    pages

    Array of page indicies