Contents

pageLength

The size of each page, in points, in the direction that the pages flow.

Declaration

var pageLength: CGFloat { get set }

Discussion

When paginationMode is right to left or left to right, this property represents the width of each page. When paginationMode is top to bottom or bottom to top, this property represents the height of each page.

The default value is 0, which means the layout uses the size of the viewport to determine the dimensions of the page. Adjusting the value of this property causes a relayout.

See Also

Managing pages