Share via


NSLayoutManager.EnsureLayoutForBoundingRect(CGRect, NSTextContainer) Method

Definition

Forces the layout manager to perform layout on bounds within container.

[Foundation.Export("ensureLayoutForBoundingRect:inTextContainer:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void EnsureLayoutForBoundingRect(CoreGraphics.CGRect bounds, UIKit.NSTextContainer container);
[<Foundation.Export("ensureLayoutForBoundingRect:inTextContainer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EnsureLayoutForBoundingRect : CoreGraphics.CGRect * UIKit.NSTextContainer -> unit
override this.EnsureLayoutForBoundingRect : CoreGraphics.CGRect * UIKit.NSTextContainer -> unit

Parameters

bounds
CGRect
container
NSTextContainer
Attributes

Remarks

The layout manager may lay out areas larger than bounds.

Applies to