แก้ไข

แชร์ผ่าน


Size.Width Property

Definition

Gets or sets the horizontal component of this Size structure.

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 horizontal component of this Size structure, typically measured in pixels.

Remarks

The unit for the Height and Width of the Size structure depend on the PageUnit and PageScale settings for the Graphics object used to draw.

Applies to