NSStringDrawing_NSString.StringSize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
StringSize(NSString, NSStringAttributes)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreGraphics.CGSize StringSize(this Foundation.NSString This, AppKit.NSStringAttributes? attributes);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member StringSize : Foundation.NSString * AppKit.NSStringAttributes -> CoreGraphics.CGSize
Parameters
- This
- NSString
The instance on which this method operates.
- attributes
- NSStringAttributes
Returns
- Attributes
Applies to
StringSize(NSString, NSDictionary)
[Foundation.Export("sizeWithAttributes:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreGraphics.CGSize StringSize(this Foundation.NSString This, Foundation.NSDictionary? attributes);
[<Foundation.Export("sizeWithAttributes:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member StringSize : Foundation.NSString * Foundation.NSDictionary -> CoreGraphics.CGSize
Parameters
- This
- NSString
The instance on which this method operates.
- attributes
- NSDictionary
Returns
- Attributes