TextLine.GetTextBounds(Int32, Int32) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Obtém um array de retângulos delimitadores que representam o intervalo de caracteres dentro de uma linha de texto.
public:
abstract System::Collections::Generic::IList<System::Windows::Media::TextFormatting::TextBounds ^> ^ GetTextBounds(int firstTextSourceCharacterIndex, int textLength);
public abstract System.Collections.Generic.IList<System.Windows.Media.TextFormatting.TextBounds> GetTextBounds(int firstTextSourceCharacterIndex, int textLength);
abstract member GetTextBounds : int * int -> System.Collections.Generic.IList<System.Windows.Media.TextFormatting.TextBounds>
Public MustOverride Function GetTextBounds (firstTextSourceCharacterIndex As Integer, textLength As Integer) As IList(Of TextBounds)
Parâmetros
- firstTextSourceCharacterIndex
- Int32
O índice do primeiro carácter do intervalo especificado.
- textLength
- Int32
O número de caracteres do intervalo especificado.
Devoluções
Uma lista de TextBounds objetos que representam o retângulo delimitador.