ActionsPane.SetBounds Method (Int32, Int32, Int32, Int32, BoundsSpecified)
Sets the specified bounds of the actions pane to the specified location and size.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Sub SetBounds ( _
x As Integer, _
y As Integer, _
width As Integer, _
height As Integer, _
specified As BoundsSpecified _
)
void SetBounds(
int x,
int y,
int width,
int height,
BoundsSpecified specified
)
Parameters
x
Type: System.Int32The new Left property value of the actions pane.
y
Type: System.Int32The new Top property value of the actions pane.
width
Type: System.Int32The new Width property value of the actions pane.
height
Type: System.Int32The new Height property value of the actions pane.
specified
Type: System.Windows.Forms.BoundsSpecifiedA bitwise combination of the BoundsSpecified values. For any parameter not specified, the current value will be used.
Remarks
This method provides the same functionality as the Control.SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified) method. For more information about using this method, see Control.SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified).
.NET Framework Security
- 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.
See Also
Reference
Microsoft.Office.Tools Namespace