4 references to DMORIENT_LANDSCAPE
System.Drawing (4)
commonui\System\Drawing\Printing\PageSettings.cs (4)
163
return printerSettings.GetModeField(ModeField.Orientation, SafeNativeMethods.DMORIENT_PORTRAIT) == SafeNativeMethods.
DMORIENT_LANDSCAPE
;
344
mode.dmOrientation = unchecked((short) (((bool) landscape) ? SafeNativeMethods.
DMORIENT_LANDSCAPE
: SafeNativeMethods.DMORIENT_PORTRAIT));
458
return printerSettings.GetModeField(ModeField.Orientation, SafeNativeMethods.DMORIENT_PORTRAIT, modeHandle) == SafeNativeMethods.
DMORIENT_LANDSCAPE
;
567
landscape = (mode.dmOrientation == SafeNativeMethods.
DMORIENT_LANDSCAPE
);