DEVMODE class base struct

Used for specifying characteristics of display and print devices in the Unicode (wide) character set.

To learn more, see learn.microsoft.com/windows/win32/api/wingdi/ns-wingdi-devmodew.

Inheritance
Implemented types
Available extensions

Constructors

DEVMODE()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
Anonymous1 DEVMODE_0
getter/setter pair
Anonymous1 DEVMODE_0_0

Available on DEVMODE, provided by the DEVMODE_0_Extension extension

getter/setter pair
Anonymous2 DEVMODE_0_1

Available on DEVMODE, provided by the DEVMODE_0_Extension extension

getter/setter pair
Anonymous2 DEVMODE_1
getter/setter pair
dmBitsPerPel int
For displays, specifies the color resolution, in bits per pixel, of a display device.
getter/setter pair
dmCollate DEVMODE_COLLATE
getter/setter pair
dmColor DEVMODE_COLOR
For printers, specifies whether a color printer should print color or monochrome.
getter/setter pair
dmCopies int

Available on DEVMODE, provided by the DEVMODE_0_0_Extension extension

getter/setter pair
dmDefaultSource int

Available on DEVMODE, provided by the DEVMODE_0_0_Extension extension

getter/setter pair
dmDeviceName String
For a display, specifies the name of the display driver's DLL; for example, "perm3dd" for the 3Dlabs Permedia3 display driver.
getter/setter pair
dmDisplayFixedOutput DEVMODE_DISPLAY_FIXED_OUTPUT

Available on DEVMODE, provided by the DEVMODE_0_1_Extension extension

getter/setter pair
dmDisplayFlags int

Available on DEVMODE, provided by the DEVMODE_1_Extension extension

getter/setter pair
dmDisplayFrequency int
For displays, specifies the frequency, in hertz, of a display device in its current mode.
getter/setter pair
dmDisplayOrientation DEVMODE_DISPLAY_ORIENTATION

Available on DEVMODE, provided by the DEVMODE_0_1_Extension extension

getter/setter pair
dmDitherType int
Specifies one of the DMDITHER-prefixed constants defined in wingdi.h.
getter/setter pair
dmDriverExtra int
Specifies the number of bytes of private driver data that follow the public structure members.
getter/setter pair
dmDriverVersion int
For a printer, specifies the printer driver version number assigned by the printer driver developer.
getter/setter pair
dmDuplex DEVMODE_DUPLEX
getter/setter pair
dmFields DEVMODE_FIELD_FLAGS
Specifies bit flags identifying which of the following DEVMODEW members are in use.
getter/setter pair
dmFormName String
For printers, specifies the name of the form to use; such as "Letter" or "Legal".
getter/setter pair
dmICMIntent int
Specifies one of the DMICM-prefixed constants defined in wingdi.h.
getter/setter pair
dmICMMethod int
Specifies one of the DMICMMETHOD-prefixed constants defined in wingdi.h.
getter/setter pair
dmLogPixels int
For displays, specifies the number of logical pixels per inch of a display device and should be equal to the ulLogPixels member of the GDIINFO structure.
getter/setter pair
dmMediaType int
Specifies one of the DMMEDIA-prefixed constants defined in wingdi.h.
getter/setter pair
dmNup int

Available on DEVMODE, provided by the DEVMODE_1_Extension extension

getter/setter pair
dmOrientation int

Available on DEVMODE, provided by the DEVMODE_0_0_Extension extension

getter/setter pair
dmPanningHeight int
Is reserved for system use and should be ignored by the driver.
getter/setter pair
dmPanningWidth int
Is reserved for system use and should be ignored by the driver.
getter/setter pair
dmPaperLength int

Available on DEVMODE, provided by the DEVMODE_0_0_Extension extension

getter/setter pair
dmPaperSize int

Available on DEVMODE, provided by the DEVMODE_0_0_Extension extension

getter/setter pair
dmPaperWidth int

Available on DEVMODE, provided by the DEVMODE_0_0_Extension extension

getter/setter pair
dmPelsHeight int
For displays, specifies the height, in pixels, of the visible device surface.
getter/setter pair
dmPelsWidth int
For displays, specifies the width, in pixels, of the visible device surface.
getter/setter pair
dmPosition POINTL

Available on DEVMODE, provided by the DEVMODE_0_1_Extension extension

getter/setter pair
dmPrintQuality int

Available on DEVMODE, provided by the DEVMODE_0_0_Extension extension

getter/setter pair
dmScale int

Available on DEVMODE, provided by the DEVMODE_0_0_Extension extension

getter/setter pair
dmSize int
Specifies the size in bytes of the public DEVMODEW structure, not including any private, driver-specified members identified by the dmDriverExtra member.
getter/setter pair
dmSpecVersion int
Specifies the version number of this DEVMODEW structure.
getter/setter pair
dmTTOption DEVMODE_TRUETYPE_OPTION
For printers, specifies how TrueType fonts should be printed.
getter/setter pair
dmYResolution int
For printers, specifies the y resolution of the printer, in DPI.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
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
toNative({Allocator allocator = adaptiveCalloc}) Pointer<DEVMODE>
Allocates native memory and copies the contents of this struct into it.
toString() String
A string representation of this object.
inherited

Operators

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