Table of Contents

Class PaperSize

Namespace
Alternet.Drawing.Printing
Assembly
Alternet.UI.Common.dll

Specifies the size of a piece of paper.

public class PaperSize
Inheritance
PaperSize

Remarks

This class is used by the PaperSize property to get the paper to set the paper size for a page. You can use the PaperSize constructor to specify a custom paper size. The SizeD property can be set only for custom PaperSize objects.

Constructors

PaperSize(PaperKind)

Initializes a new instance of the PaperSize class with the specified paper kind.

PaperSize(SizeD)

Initializes a new instance of the PaperSize class with the specified custom size, in millimeters.

Properties

CustomSize

Gets the custom size of the paper, in millimeters.

IsCustom

Gets a value indicating whether this PaperSize is custom.

Kind

Gets the type of paper.