本文為機器翻譯文章。如需檢視英文版,請選取 [原文] 核取方塊。您也可以將滑鼠指標移到文字上,即可在快顯視窗顯示英文原文。
譯文
原文

ProgressBar.Right 屬性

 

取得 ProgressBar 右邊緣與工作表左邊緣之間的距離 (以點為單位)。

命名空間:   Microsoft.Office.Tools.Excel.Controls
組件:  Microsoft.Office.Tools.Excel.v4.0.Utilities (在 Microsoft.Office.Tools.Excel.v4.0.Utilities.dll 中)

[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
public double Right { get; }

屬性值

Type: System.Double

ProgressBar 右邊緣與工作表左邊緣之間的距離 (以點為單位)。

The value of the Right property is equal to the sum of the Left property value and the Width property value.

The ProgressBar.Right property uses points, whereas Control.Right property uses pixels.

Setting the value to a negative number or a number higher than 12288 does not throw an exception but results in the control being set between 0 and 12288.

For a code example that demonstrates how to use this property, see Button.Right.All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent Right property.

回到頁首
顯示: