Name
PaperSize
Synopsis
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()
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.