PaperSize.Kind Property

Definition

Gets the type of paper.

public:
 property System::Drawing::Printing::PaperKind Kind { System::Drawing::Printing::PaperKind get(); };
public System.Drawing.Printing.PaperKind Kind { get; }
member this.Kind : System.Drawing.Printing.PaperKind
Public ReadOnly Property Kind As PaperKind

Property Value

One of the PaperKind values.

Exceptions

The Kind property is not set to Custom.

Remarks

You can use the PaperSize constructor to specify a custom paper size.

Applies to

See also