Share via


NSStringDrawing.GetSizeUsingAttributes(NSString, UIStringAttributes) Method

Definition

The SizeF of the string, if rendered with the specified attributes.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreGraphics.CGSize GetSizeUsingAttributes(this Foundation.NSString This, UIKit.UIStringAttributes attributes);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetSizeUsingAttributes : Foundation.NSString * UIKit.UIStringAttributes -> CoreGraphics.CGSize

Parameters

This
NSString

The instance on which this method operates.

attributes
UIStringAttributes

Returns

Attributes

Applies to