Share via


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:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void EnsureGlyphsForGlyphRange(Foundation.NSRange glyphRange);
[<Foundation.Export("ensureGlyphsForGlyphRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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 AllowsNonContiguousLayout is false, the range will always extend to the beginning of the text.

Applies to