3 references to DMORIENT_PORTRAIT
System.Drawing (3)
commonui\System\Drawing\Printing\PageSettings.cs (3)
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;