共用方式為


MKMapView.ConvertRect 方法

定義

多載

ConvertRect(CGRect, NSView)
ConvertRect(CGRect, UIView)

ConvertRect(CGRect, NSView)

[Foundation.Export("convertRect:toRegionFromView:")]
public virtual MapKit.MKCoordinateRegion ConvertRect (CoreGraphics.CGRect rect, AppKit.NSView toRegionFromView);
abstract member ConvertRect : CoreGraphics.CGRect * AppKit.NSView -> MapKit.MKCoordinateRegion
override this.ConvertRect : CoreGraphics.CGRect * AppKit.NSView -> MapKit.MKCoordinateRegion

參數

rect
CGRect
toRegionFromView
NSView

傳回

屬性

適用於

ConvertRect(CGRect, UIView)

[Foundation.Export("convertRect:toRegionFromView:")]
public virtual MapKit.MKCoordinateRegion ConvertRect (CoreGraphics.CGRect rect, UIKit.UIView toRegionFromView);
abstract member ConvertRect : CoreGraphics.CGRect * UIKit.UIView -> MapKit.MKCoordinateRegion
override this.ConvertRect : CoreGraphics.CGRect * UIKit.UIView -> MapKit.MKCoordinateRegion

參數

rect
CGRect
toRegionFromView
UIView

即將加入。

這個參數可以是 null

傳回

屬性

適用於