setPageBinding

abstract fun setPageBinding(@NonNull pageBinding: PageBinding)

Sets the PageBinding controlling in which direction pages of documents are laid out. This will be stored in the document metadata and persisted when reopening the document.

Parameters

pageBinding

The PageBinding to set on the document.

Throws

Thrown when trying to set the page binding to UNKNOWN.