PaperSize

PaperSize

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

This class defines the dimensions of a sheet of paper. You can retrieve the Width and Height of the paper (in units of 1/100th inch), the Kind of the paper (see PaperKind ), and a string representing the name of the particular sheet size ( PaperName ).

 public class  PaperSize  {  // Public Constructors  public  PaperSize  (string  name  , int  width  , int  height  );  // Public Instance Properties  public int  Height  {set; get; }    public PaperKind  Kind  {get; }    public string  PaperName  {set; get; }    public int  Width  {set; get; }  // Public Instance Methods  public override string  ToString  ();  // overrides object  } 

Returned By

PageSettings.PaperSize , PaperSizeCollection.this

Passed To

PageSettings.PaperSize , PaperSizeCollection.PaperSizeCollection()



. 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