PdfViewerSetViewRect Method |
Scrolls and zooms the current page so that the specified rectangle fills the view.
Namespace: PdfViewer4WinNetAssembly: PdfViewerWinNet (in PdfViewerWinNet.dll) Version: 10.0
Syntaxpublic void SetViewRect(
float left,
float top,
float width,
float height
)
Public Sub SetViewRect (
left As Single,
top As Single,
width As Single,
height As Single
)
Parameters
- left Single
- The distance in points from the left side of the page.
- top Single
- The distance in points from the top of the page.
- width Single
- The width of the rectangle, in points.
- height Single
- The height of the rectangle, in points.
See Also