Imported Upstream version 4.0.0~alpha1

Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
Jo Shields
2015-04-07 09:35:12 +01:00
parent 283343f570
commit 3c1f479b9d
22469 changed files with 2931443 additions and 869343 deletions

View File

@@ -37,11 +37,7 @@ using System.Runtime.InteropServices;
namespace System.Drawing.Printing
{
#if NET_2_0
[Serializable]
#else
[ComVisible (false)]
#endif
public class PageSettings : ICloneable
{
internal bool color;
@@ -53,11 +49,9 @@ namespace System.Drawing.Printing
// create a new default Margins object (is 1 inch for all margins)
Margins margins = new Margins();
#if NET_2_0
float hardMarginX;
float hardMarginY;
RectangleF printableArea;
#endif
PrinterSettings printerSettings;
public PageSettings() : this(new PrinterSettings())
@@ -182,7 +176,6 @@ namespace System.Drawing.Printing
printerSettings = value;
}
}
#if NET_2_0
public float HardMarginX {
get {
return hardMarginX;
@@ -200,7 +193,6 @@ namespace System.Drawing.Printing
return printableArea;
}
}
#endif
public object Clone ()