NSLayoutManager.GetTextContainer 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 |
|---|---|
| GetTextContainer(UIntPtr, NSRange, Boolean) |
Gets the NSTextContainer containing the glyph at |
| GetTextContainer(UIntPtr, IntPtr, Boolean) | |
| GetTextContainer(UIntPtr, IntPtr) | |
| GetTextContainer(UIntPtr, NSRange) | |
| GetTextContainer(UIntPtr) | |
| GetTextContainer(UIntPtr, Boolean) |
GetTextContainer(UIntPtr, NSRange, Boolean)
Gets the NSTextContainer containing the glyph at glyphIndex, with the option of not triggering layout.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public AppKit.NSTextContainer? GetTextContainer(UIntPtr glyphIndex, out Foundation.NSRange effectiveGlyphRange, bool withoutAdditionalLayout);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetTextContainer : unativeint * NSRange * bool -> AppKit.NSTextContainer
Parameters
- glyphIndex
-
UIntPtr
unativeint
The index of the glyph for which the rect is requested.
- effectiveGlyphRange
- NSRange
If not null, the range of all glyphs in the line fragment.
- withoutAdditionalLayout
- Boolean
If true, glyph generation and layout are not performed.
Returns
- Attributes
Applies to
GetTextContainer(UIntPtr, IntPtr, Boolean)
[Foundation.Export("textContainerForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected virtual AppKit.NSTextContainer? GetTextContainer(UIntPtr glyphIndex, IntPtr effectiveGlyphRange, bool withoutAdditionalLayout);
[<Foundation.Export("textContainerForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetTextContainer : unativeint * nativeint * bool -> AppKit.NSTextContainer
override this.GetTextContainer : unativeint * nativeint * bool -> AppKit.NSTextContainer
Parameters
- glyphIndex
-
UIntPtr
unativeint
- effectiveGlyphRange
-
IntPtr
nativeint
- withoutAdditionalLayout
- Boolean
Returns
- Attributes
Applies to
GetTextContainer(UIntPtr, IntPtr)
[Foundation.Export("textContainerForGlyphAtIndex:effectiveRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected virtual AppKit.NSTextContainer? GetTextContainer(UIntPtr glyphIndex, IntPtr effectiveGlyphRange);
[<Foundation.Export("textContainerForGlyphAtIndex:effectiveRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetTextContainer : unativeint * nativeint -> AppKit.NSTextContainer
override this.GetTextContainer : unativeint * nativeint -> AppKit.NSTextContainer
Parameters
- glyphIndex
-
UIntPtr
unativeint
- effectiveGlyphRange
-
IntPtr
nativeint
Returns
- Attributes
Applies to
GetTextContainer(UIntPtr, NSRange)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public AppKit.NSTextContainer? GetTextContainer(UIntPtr glyphIndex, out Foundation.NSRange effectiveGlyphRange);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetTextContainer : unativeint * NSRange -> AppKit.NSTextContainer
Parameters
- glyphIndex
-
UIntPtr
unativeint
- effectiveGlyphRange
- NSRange
Returns
- Attributes
Applies to
GetTextContainer(UIntPtr)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public AppKit.NSTextContainer? GetTextContainer(UIntPtr glyphIndex);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetTextContainer : unativeint -> AppKit.NSTextContainer
Parameters
- glyphIndex
-
UIntPtr
unativeint
Returns
- Attributes
Applies to
GetTextContainer(UIntPtr, Boolean)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public AppKit.NSTextContainer? GetTextContainer(UIntPtr glyphIndex, bool flag);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetTextContainer : unativeint * bool -> AppKit.NSTextContainer
Parameters
- glyphIndex
-
UIntPtr
unativeint
- flag
- Boolean
Returns
- Attributes