appendQuestion(pageID:rect:maxScore:)
Creates a new question and appends it to the document.
Declaration
@discardableResult mutating func appendQuestion(pageID: AssignableDocument.Page.ID, rect: CGRect, maxScore: Double? = nil) -> AssignableDocument.Question.IDParameters
- pageID:
The ID of the page to append the question to.
- rect:
The region of the question on the page.
Return Value
The newly created question’s ID.