UIView.ZoomAndCenterRectangle
Method
Description:
Zoom and center the view to a specified rectangle.
Zoom and center the view to a specified rectangle.
Parameters
Parameter | Type | Description |
---|---|---|
viewCorner1 | XYZ | A corner of the desired view rectangle in model coordinates. |
viewCorner2 | XYZ | The opposite corner of the desired view rectangle in model coordinates. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |