FitPolicy

Enum representing the different policies for fitting a PDF page into a view.

Entries

Link copied to clipboard

Fit the width of the page to the view's width.

Link copied to clipboard

Fit the height of the page to the view's height.

Link copied to clipboard

Fit both the width and height of the page to the view's dimensions, while preserving aspect ratio.

Functions

Link copied to clipboard
fun valueOf(value: String): FitPolicy

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.