共用方式為


NSStringDrawing.WeakGetSizeUsingAttributes(NSString, NSDictionary) 方法

定義

傳回轉譯字串的大小。

[Foundation.Export("sizeWithAttributes:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static CoreGraphics.CGSize WeakGetSizeUsingAttributes (this Foundation.NSString This, Foundation.NSDictionary attributes);
static member WeakGetSizeUsingAttributes : Foundation.NSString * Foundation.NSDictionary -> CoreGraphics.CGSize

參數

This
NSString

這個方法運作所在的 實例。

attributes
NSDictionary

傳回

屬性

適用於