Editar

Compartir a través de


NSLayoutManager.EnsureLayoutForCharacterRange(NSRange) Method

Definition

Forces the NSLayoutManager to layout the specified characters, if it has not already done so.

[Foundation.Export("ensureLayoutForCharacterRange:")]
public virtual void EnsureLayoutForCharacterRange (Foundation.NSRange charRange);
abstract member EnsureLayoutForCharacterRange : Foundation.NSRange -> unit
override this.EnsureLayoutForCharacterRange : Foundation.NSRange -> unit

Parameters

charRange
NSRange
Attributes

Remarks

The NSLayoutManager may layout an area larger than the charRange. If P:UIKit.NSLayoutManager.AllowsNonContinguousLayout is false, the range will always extend to the beginning of the text.

Applies to