Share via


NSAttributedString_NSExtendedStringDrawing.BoundingRectWithSize Method

Definition

[Foundation.Export("boundingRectWithSize:options:context:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreGraphics.CGRect BoundingRectWithSize(this Foundation.NSAttributedString This, CoreGraphics.CGSize size, Foundation.NSStringDrawingOptions options, AppKit.NSStringDrawingContext? context);
[<Foundation.Export("boundingRectWithSize:options:context:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member BoundingRectWithSize : Foundation.NSAttributedString * CoreGraphics.CGSize * Foundation.NSStringDrawingOptions * AppKit.NSStringDrawingContext -> CoreGraphics.CGRect

Parameters

This
NSAttributedString

The instance on which this method operates.

size
CGSize

Returns

Attributes

Applies to