PDF Viewer Control for .NET 2.0 Windows Forms
SetViewScroll Method (viewMode, offset)
NamespacesPdfViewer4WinNetPdfViewerSetViewScroll(String, Single)
Sets the view of a page according to the specified string. Depending on the view mode, the page is either scrolled to the right or scrolled down by the amount specified in offset.
Declaration Syntax
C#Visual BasicVisual C++
public void SetViewScroll(
	string viewMode,
	float offset
)
Public Sub SetViewScroll ( _
	viewMode As String, _
	offset As Single _
)
public:
void SetViewScroll(
	String^ viewMode, 
	float offset
)
Parameters
viewMode (String)
Possible values: "Fit": fits the entire page within the window both vertically and horizontally. "FitH": fits the entire width of the page within the window. "FitV": fits the entire height of the page within the window. "FitB": fits the bounding box within the window both vertically and horizontally. "FitBH": fits the entire width of the bounding box within the window. "FitBV": fits the entire height of the bounding box within the window.
offset (Single)
The horizontal or vertical coordinate positioned either at the left or top edge.

Assembly: PdfViewerWinNet (Module: PdfViewerWinNet) Version: 3.1.0.16508 (3.1.0.0)