共用方式為


NSStringDrawing_NSString.StringSize 方法

定義

多載

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

傳回

屬性

適用於