共用方式為


ListBox.SetBounds 方法 (Int32, Int32, Int32, Int32, BoundsSpecified)

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

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

語法

'宣告
Public Overridable Sub SetBounds ( _
    x As Integer, _
    y As Integer, _
    width As Integer, _
    height As Integer, _
    specified As BoundsSpecified _
)
public virtual void SetBounds(
    int x,
    int y,
    int width,
    int height,
    BoundsSpecified specified
)

參數

.NET Framework 安全性

請參閱

參考

ListBox 類別

SetBounds 多載

Microsoft.Office.Tools.Excel.Controls 命名空間