Edit

Share via


PaperSize.Width Property

Definition

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

public:
 property int Width { int get(); void set(int value); };
public int Width { get; set; }
member this.Width : int with get, set
Public Property Width As Integer

Property Value

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

Exceptions

The Kind property is not set to Custom.

Remarks

This width measurement is for the portrait orientation of the paper. The Width and Height property values can be set only for custom PaperSize objects.

Applies to

See also