Share via


NSLayoutManager.EnsureLayoutForGlyphRange(NSRange) Method

Definition

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

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

Applies to