Sdílet prostřednictvím


Stroke.GetBounds Metoda

Definice

Načte ohraničující pole objektu 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

Návraty

Rect

Struktura Rect definující ohraničující pole objektu Stroke .

Příklady

Následující příklad ukazuje, jak získat obdélník hranic objektu Stroke .

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

Platí pro