NSStringDrawing_NSString.StringSize 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
StringSize(NSString, NSStringAttributes) | |
StringSize(NSString, NSDictionary) |
StringSize(NSString, NSStringAttributes)
public static CoreGraphics.CGSize StringSize (this Foundation.NSString This, AppKit.NSStringAttributes attributes);
static member StringSize : Foundation.NSString * AppKit.NSStringAttributes -> CoreGraphics.CGSize
參數
- This
- NSString
- attributes
- NSStringAttributes
傳回
適用於
StringSize(NSString, NSDictionary)
[Foundation.Export("sizeWithAttributes:")]
public static CoreGraphics.CGSize StringSize (this Foundation.NSString This, Foundation.NSDictionary attributes);
static member StringSize : Foundation.NSString * Foundation.NSDictionary -> CoreGraphics.CGSize
參數
- This
- NSString
- attributes
- NSDictionary
傳回
- 屬性