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.

DocFormat(-1)
ID1 → const DocFormat

ID1 document format.

DocFormat(0)
ID2 → const DocFormat

ID2 document format.

DocFormat(1)
ID3 → const DocFormat

ID3 document format.

DocFormat(2)
NON → const DocFormat

Undefined document format.

DocFormat(3)
A4 → const DocFormat

A4 document format.

DocFormat(4)
ID3_x2 → const DocFormat

ID3 double document format.

DocFormat(5)
ID2_TURKEY → const DocFormat

ID2 Turkey document format.

DocFormat(6)
ID1_90 → const DocFormat

ID1 format document rotated 90 degrees.

DocFormat(10)
ID1_180 → const DocFormat

ID1 format document rotated 180 degrees.

DocFormat(11)
ID1_270 → const DocFormat

ID1 format document rotated 270 degrees.

DocFormat(12)
ID2_180 → const DocFormat

ID2 format document rotated 180 degrees.

DocFormat(13)
ID3_180 → const DocFormat

ID3 format document rotated 180 degrees.

DocFormat(14)
CUSTOM → const DocFormat

Arbitrary format.

DocFormat(1000)
PHOTO → const DocFormat

Photo format.

DocFormat(1001)
FLEXIBLE → const DocFormat

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

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.
[UNKNOWN, ID1, ID2, ID3, NON, A4, ID3_x2, ID2_TURKEY, ID1_90, ID1_180, ID1_270, ID2_180, ID3_180, CUSTOM, PHOTO, FLEXIBLE]