Size Enumeration

enum Size : Enum<ImageWriter.Paper.Size>

The standard paper sizes, for choosing one without stating its measurements.

Entries

Letter

Letter

US Letter, 8.5 x 11 in.

Legal

US Legal, 8.5 x 14 in.

A3

A3

ISO A3, 297 x 420 mm.

A4

A4

ISO A4, 210 x 297 mm — the usual choice outside North America.

A5

A5

ISO A5, 148 x 210 mm.

B4

B4

ISO B4, 250 x 353 mm.

B5

B5

ISO B5, 176 x 250 mm.

Executive

Executive

US Executive, 7.25 x 10.5 in.

US4x6

US4x6

US photo, 4 x 6 in.

US4x8

US4x8

US photo, 4 x 8 in.

US5x7

US5x7

US photo, 5 x 7 in.

COMM10

COMM10

US Commercial 10 envelope, 4.125 x 9.5 in.

BusinessCard

BusinessCard

Business card.

Properties

entries

val entries: EnumEntries<ImageWriter.Paper.Size>

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.Paper.Size

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.Paper.Size>

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

Top