다음을 통해 공유


IViewScroller.ScrollViewportVerticallyByLine(ScrollDirection) Method

Definition

Scrolls the viewport vertically one line up or down.

public:
 void ScrollViewportVerticallyByLine(Microsoft::VisualStudio::Text::Editor::ScrollDirection direction);
public:
 void ScrollViewportVerticallyByLine(Microsoft::VisualStudio::Text::Editor::ScrollDirection direction);
void ScrollViewportVerticallyByLine(Microsoft::VisualStudio::Text::Editor::ScrollDirection direction);
public void ScrollViewportVerticallyByLine (Microsoft.VisualStudio.Text.Editor.ScrollDirection direction);
abstract member ScrollViewportVerticallyByLine : Microsoft.VisualStudio.Text.Editor.ScrollDirection -> unit
Public Sub ScrollViewportVerticallyByLine (direction As ScrollDirection)

Parameters

direction
ScrollDirection

The direction in which to scroll.

Exceptions

Remarks

The viewport always contains at least one visible line along its top edge, and the distance scrolled is clipped to ensure that this always remains true.

Applies to