Aracılığıyla paylaş


Stroke.GetBounds Yöntem

Tanım

Nesnenin sınırlayıcı kutusunu Stroke alır.

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

Döndürülenler

Rect Nesne için Stroke sınırlayıcı kutuyu tanımlayan bir yapı.

Örnekler

Aşağıdaki örnek, bir Stroke nesne için sınır dikdörtgeninin nasıl alınduğunu gösterir.

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

Şunlara uygulanır