Export (0) Print
Expand All

GetBounds Method (Stroke)

Returns a Rect that is the bounding box of the Stroke.

XAML
Cannot use methods in XAML.
Scripting
retval = object.GetBounds()

Return Value

Rect

The bounding box of the Stroke.

Remarks

Do not attempt to set values in the returned Rect; it should be used for reference only.

Examples

JavaScript
  var newRect = currentStroke.GetBounds();

Applies To

Stroke

See Also

Ink Support In Microsoft Silverlight

Community Additions

Show:
© 2014 Microsoft