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
public int Height {get; set;}
public: __property int get_Height();
public: __property void set_Height(int);
public function get Height() : int;
public function set Height(int);

Property Value

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


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


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


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