NSLayoutManager.EnsureLayoutForCharacterRange(NSRange) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Forces the NSLayoutManager to layout the specified characters, if it has not already done so.
[Foundation.Export("ensureLayoutForCharacterRange:")]
public virtual void EnsureLayoutForCharacterRange (Foundation.NSRange charRange);
abstract member EnsureLayoutForCharacterRange : Foundation.NSRange -> unit
override this.EnsureLayoutForCharacterRange : Foundation.NSRange -> unit
Parameters
- charRange
- NSRange
- Attributes
Remarks
The NSLayoutManager may layout an area larger than the charRange
. If P:UIKit.NSLayoutManager.AllowsNonContinguousLayout is false
, the range will always extend to the beginning of the text.