共用方式為


NSString.BoundingRectWithSize 方法

定義

public CoreGraphics.CGRect BoundingRectWithSize (CoreGraphics.CGSize size, Foundation.NSStringDrawingOptions options, Foundation.NSDictionary attributes);
member this.BoundingRectWithSize : CoreGraphics.CGSize * Foundation.NSStringDrawingOptions * Foundation.NSDictionary -> CoreGraphics.CGRect

參數

size
CGSize
attributes
NSDictionary

傳回

適用於