Sdílet prostřednictvím


TextBlock.GetRectanglesCore(ContentElement) Metoda

Definice

Vrátí kolekci ohraničující obdélníky určené jen pro ContentElementčtení .

protected:
 virtual System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Rect> ^ GetRectanglesCore(System::Windows::ContentElement ^ child);
protected virtual System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect> GetRectanglesCore (System.Windows.ContentElement child);
abstract member GetRectanglesCore : System.Windows.ContentElement -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect>
override this.GetRectanglesCore : System.Windows.ContentElement -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect>
Protected Overridable Function GetRectanglesCore (child As ContentElement) As ReadOnlyCollection(Of Rect)

Parametry

child
ContentElement

A ContentElement , pro kterou chcete vygenerovat a vrátit kolekci ohraničující obdélníky.

Návraty

ReadOnlyCollection<Rect>

Kolekce ohraničující obdélníky určené jen pro ContentElementčtení .

Výjimky

child je null.

Poznámky

Každý ohraničující obdélník v kolekci odpovídá řádku obsahu v kolekci ContentElement.

Platí pro