March 2003
Intermediate to advanced
896 pages
32h 35m
English
PaperSize
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 }
PageSettings.PaperSize,
PaperSizeCollection.this
PageSettings.PaperSize,
PaperSizeCollection.PaperSizeCollection()
Read now
Unlock full access