Share via


NSLayoutManager.GetUsedRect(NSTextContainer) Method

Definition

The bounding rectangle in the NSTextContainer's coordinates of the laid out glyphs in the NSTextContainer.

[Foundation.Export("usedRectForTextContainer:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGRect GetUsedRect(UIKit.NSTextContainer container);
[<Foundation.Export("usedRectForTextContainer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetUsedRect : UIKit.NSTextContainer -> CoreGraphics.CGRect
override this.GetUsedRect : UIKit.NSTextContainer -> CoreGraphics.CGRect

Parameters

container
NSTextContainer

Returns

Attributes

Applies to