Compartilhar via


NSLayoutManager.GetTextContainer Método

Definição

Sobrecargas

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

Obtém o NSTextContainer que contém o glifo em , com a opção de não disparar o layout.

GetTextContainer(nuint)

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

Parâmetros

glyphIndex
System.System.UIntPtr System.unativeint

Retornos

Aplica-se a

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

Parâmetros

glyphIndex
System.System.UIntPtr System.unativeint
effectiveGlyphRange
NSRange

Retornos

Atributos

Aplica-se a

GetTextContainer(nuint, Boolean)

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

Parâmetros

glyphIndex
System.System.UIntPtr System.unativeint
flag
Boolean

Retornos

Aplica-se a

GetTextContainer(nuint, NSRange, Boolean)

Obtém o NSTextContainer que contém o glifo em , com a opção de não disparar o 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

Parâmetros

glyphIndex
System.System.UIntPtr System.unativeint

O índice do glifo para o qual o rect é solicitado.

effectiveGlyphRange
NSRange

Se não nullfor , o intervalo de todos os glifos no fragmento de linha.

withoutAdditionalLayout
Boolean

Se true, a geração e o layout do glifo não serão executados.

Retornos

Atributos

Aplica-se a