Margins

Margins

System.Drawing.Printing (system.drawing.dll) class

This class encapsulates the position of the margins on a printed page. You can set the margins with the PageSettings.Margins property. The Top , Left , Bottom , and Right margins can be set in units of 1/100th inch.

 public class  Margins  : ICloneable {  // Public Constructors  public  Margins  ();    public  Margins  (int  left  , int  right  , int  top  , int  bottom  );  // Public Instance Properties  public int  Bottom  {set; get; }    public int  Left  {set; get; }    public int  Right  {set; get; }    public int  Top  {set; get; }  // Public Instance Methods  public object  Clone  ();  // implements ICloneable  public override bool  Equals  (object  obj  );  // overrides object  public override int  GetHashCode  ();  // overrides object  public override string  ToString  ();  // overrides object  } 

Returned By

PageSettings.Margins , System.Windows.Forms.PageSetupDialog.MinMargins

Passed To

PageSettings.Margins , PrinterUnitConvert.Convert() , System.Windows.Forms.PageSetupDialog.MinMargins



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net