Share via


NSLayoutManager.GetTextContainer Method

Definition

Overloads

GetTextContainer(UIntPtr, IntPtr, Boolean)

[Foundation.Export("textContainerForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected virtual UIKit.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 -> UIKit.NSTextContainer
override this.GetTextContainer : unativeint * nativeint * bool -> UIKit.NSTextContainer

Parameters

glyphIndex
UIntPtr

unativeint

effectiveGlyphRange
IntPtr

nativeint

withoutAdditionalLayout
Boolean

Returns

Attributes

Applies to

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 UIKit.NSTextContainer? GetTextContainer(UIntPtr glyphIndex, out Foundation.NSRange effectiveGlyphRange, bool withoutAdditionalLayout);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetTextContainer : unativeint * NSRange * bool -> UIKit.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)

[Foundation.Export("textContainerForGlyphAtIndex:effectiveRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected virtual UIKit.NSTextContainer? GetTextContainer(UIntPtr glyphIndex, IntPtr effectiveGlyphRange);
[<Foundation.Export("textContainerForGlyphAtIndex:effectiveRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetTextContainer : unativeint * nativeint -> UIKit.NSTextContainer
override this.GetTextContainer : unativeint * nativeint -> UIKit.NSTextContainer

Parameters

glyphIndex
UIntPtr

unativeint

effectiveGlyphRange
IntPtr

nativeint

Returns

Attributes

Applies to

GetTextContainer(UIntPtr, NSRange)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public UIKit.NSTextContainer? GetTextContainer(UIntPtr glyphIndex, out Foundation.NSRange effectiveGlyphRange);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetTextContainer : unativeint * NSRange -> UIKit.NSTextContainer

Parameters

glyphIndex
UIntPtr

unativeint

effectiveGlyphRange
NSRange

Returns

Attributes

Applies to

GetTextContainer(UIntPtr)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public UIKit.NSTextContainer? GetTextContainer(UIntPtr glyphIndex);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetTextContainer : unativeint -> UIKit.NSTextContainer

Parameters

glyphIndex
UIntPtr

unativeint

Returns

Attributes

Applies to

GetTextContainer(UIntPtr, Boolean)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public UIKit.NSTextContainer? GetTextContainer(UIntPtr glyphIndex, bool flag);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetTextContainer : unativeint * bool -> UIKit.NSTextContainer

Parameters

glyphIndex
UIntPtr

unativeint

flag
Boolean

Returns

Attributes

Applies to