Edytuj

Udostępnij za pośrednictwem


NSLayoutManager.GetTextContainer Method

Definition

Overloads

GetTextContainer(nuint)
GetTextContainer(nuint, NSRange)
GetTextContainer(nuint, Boolean)
GetTextContainer(nuint, NSRange, Boolean)

Gets the NSTextContainer containing the glyph at , with the option of not triggering layout.

GetTextContainer(nuint)

public UIKit.NSTextContainer GetTextContainer (nuint glyphIndex);
member this.GetTextContainer : nuint -> UIKit.NSTextContainer

Parameters

glyphIndex
System.System.UIntPtr System.unativeint

Returns

Applies to

GetTextContainer(nuint, NSRange)

[Foundation.Export("textContainerForGlyphAtIndex:effectiveRange:")]
public virtual UIKit.NSTextContainer GetTextContainer (nuint glyphIndex, out Foundation.NSRange effectiveGlyphRange);
abstract member GetTextContainer : nuint *  -> UIKit.NSTextContainer
override this.GetTextContainer : nuint *  -> UIKit.NSTextContainer

Parameters

glyphIndex
System.System.UIntPtr System.unativeint
effectiveGlyphRange
NSRange

Returns

Attributes

Applies to

GetTextContainer(nuint, Boolean)

public UIKit.NSTextContainer GetTextContainer (nuint glyphIndex, bool flag);
member this.GetTextContainer : nuint * bool -> UIKit.NSTextContainer

Parameters

glyphIndex
System.System.UIntPtr System.unativeint
flag
Boolean

Returns

Applies to

GetTextContainer(nuint, NSRange, Boolean)

Gets the NSTextContainer containing the glyph at , with the option of not triggering layout.

[Foundation.Export("textContainerForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:")]
public virtual UIKit.NSTextContainer GetTextContainer (nuint glyphIndex, out Foundation.NSRange effectiveGlyphRange, bool withoutAdditionalLayout);
abstract member GetTextContainer : nuint *  * bool -> UIKit.NSTextContainer
override this.GetTextContainer : nuint *  * bool -> UIKit.NSTextContainer

Parameters

glyphIndex
System.System.UIntPtr System.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