init(pdfURL:id:)
Initializes a new assessment document that is based on the PDF located at the provided URL. If the file located at the URL provided cannot be accessed, this initializer throws.
Declaration
init(pdfURL: URL, id: String? = nil) throwsParameters
- pdfURL:
A URL to the PDF document that is the basis of this assessment document.
- id:
An optional ID to use for this document. if one is not provided, a random UUID string will be used.