編集

次の方法で共有


NSLayoutManager.EnsureLayoutForGlyphRange(NSRange) Method

Definition

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

[Foundation.Export("ensureLayoutForGlyphRange:")]
public virtual void EnsureLayoutForGlyphRange (Foundation.NSRange glyphRange);
abstract member EnsureLayoutForGlyphRange : Foundation.NSRange -> unit
override this.EnsureLayoutForGlyphRange : Foundation.NSRange -> unit

Parameters

glyphRange
NSRange
Attributes

Remarks

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

Applies to