DocFormat enum

Defining the geometric format of documents in accordance with ISO / IEC 7810.

Inheritance

Constructors

DocFormat(int value)
const

Values

UNKNOWN → const DocFormat

Unknown format.

const DocFormat(-1)
ID1 → const DocFormat

ID1 document format.

const DocFormat(0)
ID2 → const DocFormat

ID2 document format.

const DocFormat(1)
ID3 → const DocFormat

ID3 document format.

const DocFormat(2)
NON → const DocFormat

Undefined document format.

const DocFormat(3)
A4 → const DocFormat

A4 document format.

const DocFormat(4)
ID3_x2 → const DocFormat

ID3 double document format.

const DocFormat(5)
ID2_TURKEY → const DocFormat

ID2 Turkey document format.

const DocFormat(6)
ID1_90 → const DocFormat

ID1 format document rotated 90 degrees.

const DocFormat(10)
ID1_180 → const DocFormat

ID1 format document rotated 180 degrees.

const DocFormat(11)
ID1_270 → const DocFormat

ID1 format document rotated 270 degrees.

const DocFormat(12)
ID2_180 → const DocFormat

ID2 format document rotated 180 degrees.

const DocFormat(13)
ID3_180 → const DocFormat

ID3 format document rotated 180 degrees.

const DocFormat(14)
CUSTOM → const DocFormat

Arbitrary format.

const DocFormat(1000)
PHOTO → const DocFormat

Photo format.

const DocFormat(1001)
FLEXIBLE → const DocFormat

Flexible format. Standard formats can be resized during cropping, depending on various factors: light, background etc.

const DocFormat(1002)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getByValue(int? i) DocFormat?

Constants

values → const List<DocFormat>
A constant List of the values in this enum, in order of their declaration.