共用方式為


NSExtendedStringDrawing.WeakGetBoundingRect 方法

定義

[Foundation.Export("boundingRectWithSize:options:attributes:context:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static CoreGraphics.CGRect WeakGetBoundingRect (this Foundation.NSString This, CoreGraphics.CGSize size, Foundation.NSStringDrawingOptions options, Foundation.NSDictionary attributes, Foundation.NSStringDrawingContext context);
static member WeakGetBoundingRect : Foundation.NSString * CoreGraphics.CGSize * Foundation.NSStringDrawingOptions * Foundation.NSDictionary * Foundation.NSStringDrawingContext -> CoreGraphics.CGRect

參數

This
NSString
size
CGSize
attributes
NSDictionary
context
NSStringDrawingContext

即將加入。

這個參數可以是 null

傳回

屬性

適用於