Stroke.GetBounds Méthode

Définition

Récupère le cadre englobant pour l'objet 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

Retours

Une structure Rect qui définit le cadre englobant pour l'objet Stroke.

Exemples

L’exemple suivant montre comment obtenir le rectangle de limite pour un Stroke objet .

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

S’applique à