Environment.ZoomCamera (Point, Int32, Boolean) Method
Zooms the view of the specified amount.
Public Overridable Sub ZoomCamera( _
ByVal mousePos As Point, _
ByVal dy As Integer, _
ByVal animate As Boolean _
)
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
mousePos
-
Point
The screen point to keep fixed
-
dy
-
int
The zoom amount
-
animate
-
bool
If true performs an animation when changing the view
.NET Framework
Supported in: 4.5, 4.6, 4.7