pageNumber Property

var pageNumber: Int

The page’s position in a multi-page document, used when writing it out with ImageWriter.

Optional: leave it alone for single-page output.

Top