2 // System.Drawing.Margins.cs
\r
5 // Dennis Hayes (dennish@Raytek.com)
\r
7 // (C) 2002 Ximian, Inc
\r
11 namespace System.Drawing.Printing {
\r
13 /// Summary description for Margins.
\r
16 public class Margins {// : IClonable {
\r
18 /// left margin in hundredths of an inch
\r
22 /// right margin in hundredths of an inch
\r
26 /// top margin in hundredths of an inch
\r
30 /// bottom margin in hundredths of an inch
\r
40 public Margins(int left, int right, int top, int bottom) {
\r
43 throw new System.ArgumentException("All Margins must be greater than 0", "left");
\r
45 throw new System.ArgumentException("All Margins must be greater than 0", "right");
\r
47 throw new System.ArgumentException("All Margins must be greater than 0", "top");
\r
49 throw new System.ArgumentException("All Margins must be greater than 0", "bottom");
\r
54 this.bottom = bottom;
\r