Pane.ScrollIntoView(Int32, Int32, Int32, Int32, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Scrolls the pane so that the contents of a specified rectangular area are displayed in either the upper-left or lower-right corner of the pane.
public void ScrollIntoView (int Left, int Top, int Width, int Height, object Start);
Public Sub ScrollIntoView (Left As Integer, Top As Integer, Width As Integer, Height As Integer, Optional Start As Object)
Parameters
- Left
- Int32
Required Integer. The horizontal position of the rectangle (in points) from the left edge of the pane.
- Top
- Int32
Required Integer. The vertical position of the rectangle (in points) from the top of the pane.
- Width
- Int32
Required Integer. The width of the rectangle in points.
- Height
- Int32
Required Integer. The height of the rectangle in points.
- Start
- Object
Optional Object. True to have the upper-left corner of the rectangle appear in the upper-left corner of the pane. False to have the lower-right corner of the rectangle appear in the lower-right corner of the pane. The default value is True.
Remarks
The Start
argument is useful for orienting the screen display when the rectangle is larger than the pane.