Stroke.GetBounds Metodo

Definizione

Recupera il riquadro delimitatore 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

Restituisce

La struttura Rect che definisce il riquadro delimitatore 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