Stroke.GetBounds 메서드

정의

개체의 경계 상자를 검색 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

반품

Rect 개체의 경계 상자를 정의하는 구조체 Stroke 입니다.

예제

다음 예제에서는 개체의 경계 사각형 Stroke 을 가져오는 방법을 보여 줍니다.

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

적용 대상