NSLayoutManager.EnsureLayoutForBoundingRect(CGRect, NSTextContainer) 方法

定义

强制布局管理器在 中执行布局。

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

参数

bounds
CGRect
container
NSTextContainer
属性

注解

布局管理器可能会布局大于 的区域。

适用于