MKMapView.ConvertRect Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ConvertRect(CGRect, NSView) | |
| ConvertRect(CGRect, UIView) |
ConvertRect(CGRect, NSView)
[Foundation.Export("convertRect:toRegionFromView:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MapKit.MKCoordinateRegion ConvertRect(CoreGraphics.CGRect rect, AppKit.NSView? toRegionFromView);
[<Foundation.Export("convertRect:toRegionFromView:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ConvertRect : CoreGraphics.CGRect * AppKit.NSView -> MapKit.MKCoordinateRegion
override this.ConvertRect : CoreGraphics.CGRect * AppKit.NSView -> MapKit.MKCoordinateRegion
Parameters
- rect
- CGRect
- toRegionFromView
- NSView
Returns
- Attributes
Applies to
ConvertRect(CGRect, UIView)
[Foundation.Export("convertRect:toRegionFromView:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MapKit.MKCoordinateRegion ConvertRect(CoreGraphics.CGRect rect, UIKit.UIView? toRegionFromView);
[<Foundation.Export("convertRect:toRegionFromView:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ConvertRect : CoreGraphics.CGRect * UIKit.UIView -> MapKit.MKCoordinateRegion
override this.ConvertRect : CoreGraphics.CGRect * UIKit.UIView -> MapKit.MKCoordinateRegion
Parameters
- rect
- CGRect
- toRegionFromView
- UIView
Returns
- Attributes