Share via


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:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void EnsureGlyphsForCharacterRange(Foundation.NSRange characterRange);
[<Foundation.Export("ensureGlyphsForCharacterRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EnsureGlyphsForCharacterRange : Foundation.NSRange -> unit
override this.EnsureGlyphsForCharacterRange : Foundation.NSRange -> unit

Parameters

characterRange
NSRange
Attributes

Remarks

The NSLayoutManager may calculate glyphs for a range larger than the characterRange. If AllowsNonContiguousLayout is false, the range will always extend to the beginning of the text.

Applies to