2 writes to landscape
System.Drawing (2)
commonui\System\Drawing\Printing\PageSettings.cs (2)
167
set {
landscape
= value;}
567
landscape
= (mode.dmOrientation == SafeNativeMethods.DMORIENT_LANDSCAPE);
6 references to landscape
System.Drawing (6)
commonui\System\Drawing\Printing\PageSettings.cs (6)
162
if (
landscape
.IsDefault)
165
return(bool)
landscape
;
343
if (
landscape
.IsNotDefault && ((mode.dmFields & SafeNativeMethods.DM_ORIENTATION) == SafeNativeMethods.DM_ORIENTATION))
344
mode.dmOrientation = unchecked((short) (((bool)
landscape
) ? SafeNativeMethods.DMORIENT_LANDSCAPE : SafeNativeMethods.DMORIENT_PORTRAIT));
457
if (
landscape
.IsDefault)
460
return(bool)
landscape
;