NSTextLayoutManager.EnsureLayout 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.
Overloads
| Name | Description |
|---|---|
| EnsureLayout(CGRect) | |
| EnsureLayout(NSTextRange) |
EnsureLayout(CGRect)
[Foundation.Export("ensureLayoutForBounds:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void EnsureLayout(CoreGraphics.CGRect bounds);
[<Foundation.Export("ensureLayoutForBounds:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EnsureLayout : CoreGraphics.CGRect -> unit
override this.EnsureLayout : CoreGraphics.CGRect -> unit
Parameters
- bounds
- CGRect
- Attributes
Applies to
EnsureLayout(NSTextRange)
[Foundation.Export("ensureLayoutForRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void EnsureLayout(AppKit.NSTextRange range);
[<Foundation.Export("ensureLayoutForRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EnsureLayout : AppKit.NSTextRange -> unit
override this.EnsureLayout : AppKit.NSTextRange -> unit
Parameters
- range
- NSTextRange
- Attributes