SizeF.Width 属性

定义

获取或设置此 SizeF 结构的水平组件。Gets or sets the horizontal component of this SizeF structure.

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

属性值

Single

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

注解

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

适用于