set

open fun set(@NonNull rect: RectF)

Sets new page rect. Call updateScreenRect to update screen rect.

Parameters

rect

Rect to be set as a page rect.


open fun set(@NonNull pageRect: PageRect)

Sets another page rect. Call updateScreenRect to update screen rect.

Parameters

pageRect

Page rect to be set as a page rect.


open fun set(left: Float, top: Float, right: Float, bottom: Float)

Sets new page rect. Call updateScreenRect to update screen rect.

Parameters

left

Left border coordinate in PDF points.

top

Top border coordinate in PDF points.

right

Right border coordinate in PDF points.

bottom

Bottom border coordinate in PDF points.