Stroke.GetBounds Metodo

Definizione

Recupera il rettangolo di selezione per l'oggetto Stroke .

public:
 virtual System::Windows::Rect GetBounds();
public virtual System.Windows.Rect GetBounds();
abstract member GetBounds : unit -> System.Windows.Rect
override this.GetBounds : unit -> System.Windows.Rect
Public Overridable Function GetBounds () As Rect

Valori restituiti

Struttura Rect che definisce il rettangolo di selezione per l'oggetto Stroke .

Esempio

Nell'esempio seguente viene illustrato come ottenere il rettangolo limite per un Stroke oggetto .

Rect myRect = thisStroke.GetBounds();
Dim myRect As Rect = thisStroke.GetBounds()

Si applica a