NSLayoutManager.EnsureGlyphsForCharacterRange(NSRange) Method

Definition

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

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

Parameters

charRange
NSRange
Attributes

Remarks

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

Applies to