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()
|