Size.Width 属性

定义

获取或设置此 Size 结构的水平组件。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

属性值

Int32

Size 结构的水平分量,通常以像素为单位进行度量。The horizontal component of this Size structure, typically measured in pixels.

注解

结构和的单位 Height Width 取决于 Size PageUnit PageScale 用于绘制的对象的和设置 GraphicsThe unit for the Height and Width of the Size structure depend on the PageUnit and PageScale settings for the Graphics object used to draw.

适用于