-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum AspectRatio extends Enum<AspectRatio>
Defines how the thumbnail should handle the aspect ratio of the original PDF page.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CROP_TO_FITScale to fit the larger dimension, maintaining aspect ratio (crop if necessary).
FIT_HEIGHTScale to fit height, maintaining aspect ratio.
FIT_WIDTHScale to fit width, maintaining aspect ratio.
STRETCHStretch the content to fill the entire thumbnail dimensions.
PRESERVEPreserve the original aspect ratio of the PDF page, potentially leaving empty space.
-
Method Summary
Modifier and Type Method Description final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getOrdinal
final Integer getOrdinal()
-
-
-
-