UIKit.UIScrollView.ZoomToRect Method
This method will zoom the area defined by rect so that it is visible in the content view.

Syntax

[Foundation.Export("zoomToRect:animated:")]
public virtual void ZoomToRect (bool animated, CoreGraphics.CGRect rect)

Parameters

rect
A rectangle in the content view.
animated
If true, then the scrolling should be animated.

Remarks

The value of UIScrollView.ZoomScale will be changed as necessary when this method is called.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0