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 _
)
public virtual void SetBounds(
    int x,
    int y,
    int width,
    int height
)
参数
- x
 类型:System.Int32
- y
 类型:System.Int32
- width
 类型:System.Int32
- height
 类型:System.Int32
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。