setDocument

Sets the document that provides page count for this scrollbar.

Parameters

document

A PdfDocument providing the page count for this view.