Share via


NSStringDrawing.WeakGetSizeUsingAttributes(NSString, NSDictionary) Method

Definition

Returns the size of the rendered string.

[Foundation.Export("sizeWithAttributes:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreGraphics.CGSize WeakGetSizeUsingAttributes(this Foundation.NSString This, Foundation.NSDictionary? attributes);
[<Foundation.Export("sizeWithAttributes:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member WeakGetSizeUsingAttributes : Foundation.NSString * Foundation.NSDictionary -> CoreGraphics.CGSize

Parameters

This
NSString

The instance on which this method operates.

attributes
NSDictionary

Returns

Attributes

Applies to