Viewport.ZoomCamera (Point, Int32) Method

Zooms the view of the specified amount.
Public Overridable Sub ZoomCamera( _ 
ByVal mousePos As Point, _ 
ByVal dy As Integer
)
This language is not supported or no code example is available.
public virtual void ZoomCamera( 
Point mousePos
int dy 
)
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

.NET Framework

Supported in: 4.8

In this article

Definition