ListBox.SetBounds Method (Int32, Int32, Int32, Int32) (2003 System)
This API supports the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.Office.Tools.Excel.Controls
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Public Overridable Sub SetBounds ( _
x As Integer, _
y As Integer, _
width As Integer, _
height As Integer _
)
'Usage
Dim instance As ListBox
Dim x As Integer
Dim y As Integer
Dim width As Integer
Dim height As Integer
instance.SetBounds(x, y, width, height)
public virtual void SetBounds(
int x,
int y,
int width,
int height
)
Parameters
- x
Type: System.Int32
- y
Type: System.Int32
- width
Type: System.Int32
- height
Type: System.Int32
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.