This documentation is archived and is not being maintained.

PaperSize.Height Property

Gets or sets the height of the paper, in hundredths of an inch.

[Visual Basic]
Public Property Height As Integer
[C#]
public int Height {get; set;}
[C++]
public: __property int get_Height();
public: __property void set_Height(int);
[JScript]
public function get Height() : int;
public function set Height(int);

Property Value

The height of the paper, in hundredths of an inch.

Exceptions

Exception Type Condition
ArgumentException The Kind property is not set to Custom.

Remarks

This height measurement is for the portrait orientation of the paper.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

PaperSize Class | PaperSize Members | System.Drawing.Printing Namespace | Width

Show: