PrintJobOutputType class

Class representing the kind of printable content of a PlatformPrintJobController.

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNativeValue() int
Gets int native value.
toString() String
A string representation of this object.
override
toValue() int
Gets int value.

Operators

operator ==(Object value) bool
The equality operator.
override

Static Properties

values Set<PrintJobOutputType>
Set of all values of PrintJobOutputType.
final

Static Methods

fromNativeValue(int? value) PrintJobOutputType?
Gets a possible PrintJobOutputType instance from a native value.
fromValue(int? value) PrintJobOutputType?
Gets a possible PrintJobOutputType instance from int value.

Constants

GENERAL → const PrintJobOutputType
Specifies that the printed content consists of mixed text, graphics, and images. The default paper is Letter, A4, or similar locale-specific designation. Output is normal quality, duplex.
GRAYSCALE → const PrintJobOutputType
Specifies that the printed content is grayscale. Set the output type to this value when your printable content contains no color—for example, it’s black text only. The default paper is Letter/A4. Output is grayscale quality, duplex. This content type can produce a performance improvement in some cases.
PHOTO → const PrintJobOutputType
Specifies that the printed content consists of black-and-white or color images. The default paper is 4x6, A6, or similar locale-specific designation. Output is high quality, simplex.
PHOTO_GRAYSCALE → const PrintJobOutputType
Specifies that the printed content is a grayscale image. Set the output type to this value when your printable content contains no color—for example, it’s black text only. The default paper is Letter/A4. Output is high quality grayscale, duplex.