3 references to DMORIENT_PORTRAIT
System.Drawing.Common (3)
System\Drawing\Printing\PageSettings.cs (3)
97
? _printerSettings.GetModeField(ModeField.Orientation, (short)PInvokeCore.
DMORIENT_PORTRAIT
) == PInvokeCore.DMORIENT_LANDSCAPE
240
devmode->dmOrientation = _landscape.IsTrue ? (short)PInvokeCore.DMORIENT_LANDSCAPE : (short)PInvokeCore.
DMORIENT_PORTRAIT
;
367
? _printerSettings.GetModeField(ModeField.Orientation, (short)PInvokeCore.
DMORIENT_PORTRAIT
, modeHandle) == PInvokeCore.DMORIENT_LANDSCAPE