ActionsPane.SetAutoScrollMargin Method
Sets the size of the auto-scroll margins.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Sub SetAutoScrollMargin ( _
x As Integer, _
y As Integer _
)
void SetAutoScrollMargin(
int x,
int y
)
Parameters
x
Type: System.Int32The Width value.
y
Type: System.Int32The Height value.
Remarks
This method provides the same functionality as the ScrollableControl.SetAutoScrollMargin method. For more information about using this method, see ScrollableControl.SetAutoScrollMargin.
.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