ZoomToRect Method
Description
Zooms the view to a specific set of coordinates on the active page.
Syntax
Public Sub ZoomToRect( _
ByVal left As Integer, _
ByVal top As Integer, _
ByVal right As Integer, _
ByVal bottom As Integer, _
ByVal Animate As Boolean _
)
Parameters
- left: Specifies the x-coordinate of the upper-left corner of the rectangle.
- top: Specifies the y-coordinate of the upper-left corner of the rectangle.
- right: Specifies the x-coordinate of the lower-right corner of the rectangle.
- bottom: Specifies the y-coordinate of the lower-right corner of the rectangle.
- Animate: True to use animation while zooming.
Remarks
This will zoom the view to the specified coordinates.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.