Table of Contents

Method ZoomTo

Namespace
SharpVectors.Runtime
Assembly
SharpVectors.Runtime.Wpf.dll

ZoomTo(Rect)

Instantly zoom to the specified rectangle (in content coordinates).

public void ZoomTo(Rect contentRect)

Parameters

contentRect Rect

ZoomTo(double)

Zoom in/out centered on the viewport center.

public void ZoomTo(double contentScale)

Parameters

contentScale double