Instance Property

label

Returns the label for the page.

Declaration

var label: String? { get }

Discussion

Typically, the label is “1” for the first page, “2” for the second page, and so on, but nonnumerical labels are also possible (such as “xxi”, “4-1” and so on).

See Also

Getting Information About a Page

var document: PDFDocument?

Returns the PDFDocument object with which the page is associated.

func bounds(for: PDFDisplayBox) -> CGRect

Returns the bounds for the specified PDF display box.

func setBounds(CGRect, for: PDFDisplayBox)

Sets the bounds for the specified box.

var rotation: Int

Sets the rotation angle for the page in degrees.