Gets or sets the width of the paper, in hundredths of an inch.
[Visual Basic] Public Property Width As Integer [C#] public int Width {get; set;} [C++] public: __property int get_Width(); public: __property void set_Width(int); [JScript] public function get Width() : int; public function set Width(int);
The width of the paper, in hundredths of an inch.
Exception Type | Condition |
---|---|
ArgumentException | The paper size is not custom. |
This measurement is for the portrait orientation of the paper.
PaperSize Class | PaperSize Members | System.Drawing.Printing Namespace | Height