PDF Viewer Control for .NET 2.0 Windows Forms
SetView Method (viewMode)
NamespacesPdfViewer4WinNetPdfViewerSetView(String)
Sets the view of a page according to the specified string.
Declaration Syntax
C#Visual BasicVisual C++
public void SetView(
	string viewMode
)
Public Sub SetView ( _
	viewMode As String _
)
public:
void SetView(
	String^ viewMode
)
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.

Assembly: PdfViewerWinNet (Module: PdfViewerWinNet) Version: 3.0.0.33756 (3.0.0.0)