共用方式為


HScrollBar.SetBounds Method (Int32, Int32, Int32, Int32, BoundsSpecified)

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

Namespace:  Microsoft.Office.Tools.Excel.Controls
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
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
)

Parameters

.NET Framework Security

See Also

Reference

HScrollBar Class

SetBounds Overload

Microsoft.Office.Tools.Excel.Controls Namespace