Units Enumeration
enum Units : Enum<ImageWriter.Dimension.Units>
The unit a paper measurement is expressed in.
Entries
Millimeters
Millimeters
Millimetres.
Inches
Inches
Inches.
Dpi72
Dpi72
Points, at 72 to the inch — the unit PDF itself uses.
Properties
entries
val entries: EnumEntries<ImageWriter.Dimension.Units>
Returns a representation of an immutable list of all enum entries, in the order they’re declared.
name
val name: String
ordinal
val ordinal: Int
Functions
valueOf
fun valueOf(value: String): ImageWriter.Dimension.Units
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.)
values
fun values(): Array<ImageWriter.Dimension.Units>
Returns an array containing the constants of this enum type, in the order they’re declared.