Edit

Share via


NSStringDrawing.GetSizeUsingAttributes(NSString, UIStringAttributes) Method

Definition

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

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static CoreGraphics.CGSize GetSizeUsingAttributes (this Foundation.NSString This, UIKit.UIStringAttributes attributes);
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