Stroke.GetBounds Metoda

Definice

Načte ohraničující rámeček 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

Struktura Rect definující ohraničující rámeček 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