PdfViewerSetViewScroll Method |
Sets the view of a page according to the specified string, and scrolls the page by the specified offset.
Namespace: PdfViewer4WinNet.WpfAssembly: PdfViewerWinNet (in PdfViewerWinNet.dll) Version: 10.0
Syntaxpublic void SetViewScroll(
string viewMode,
float offset
)
Public Sub SetViewScroll (
viewMode As String,
offset As Single
)
Parameters
- viewMode String
-
Possible values: "Fit", "FitH", "FitV", "FitB", "FitBH", "FitBV" (see SetView(String)).
- offset Single
- For FitH / FitBH the distance in points from the top of the page shown at the top of the view;
for FitV / FitBV the distance in points from the left side of the page shown at the left of the view.
See Also