共用方式為


NSAttributedString.BoundingRectWithSize 方法

定義

[Foundation.Export("boundingRectWithSize:options:")]
public virtual CoreGraphics.CGRect BoundingRectWithSize (CoreGraphics.CGSize size, Foundation.NSStringDrawingOptions options);
abstract member BoundingRectWithSize : CoreGraphics.CGSize * Foundation.NSStringDrawingOptions -> CoreGraphics.CGRect
override this.BoundingRectWithSize : CoreGraphics.CGSize * Foundation.NSStringDrawingOptions -> CoreGraphics.CGRect

參數

size
CGSize

傳回

屬性

適用於