NSLayoutManager.EnsureGlyphsForGlyphRange(NSRange) Method

Definition

Forces the NSLayoutManager to generate glyphs for the specified glyph range, if it has not already done so.

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

Parameters

glyphRange
NSRange
Attributes

Remarks

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

Applies to