Rectangle.Width 屬性

定義

取得或設定這個 Rectangle 結構的寬度。

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

屬性值

這個 Rectangle 結構的寬度。 預設值是 0。

備註

變更 Width 屬性也會在 的Rectangle屬性中Right造成變更。 繪製矩形的單位是由 PageUnit 用於繪製之圖形物件的 和 PageScale 屬性所決定。 默認單位為圖元。

適用於