IXRStroke::GetBounds (Windows Embedded CE 6.0)
1/6/2010
This method retrieves the bounding box for the IXRStroke object.
Syntax
virtual HRESULT STDMETHODCALLTYPE GetBounds(
__out XRRect *pValue
) = 0;
Parameters
- pValue
[in] Points to an XRRect structure that defines the bounding box of the stroke.
Return Values
Returns a standard HRESULT value.
Remarks
Do not set values in the returned XRRect. Use it for reference only.
You can use the returned XRRect in several ways:
- As input for an IXRRectangleGeometry that displays a bounding box in the user interface
- To check for intersecting strokes or to perform other kinds of hit testing.
.NET Framework Equivalent
System.Windows.Ink.Stroke.GetBounds
Requirements
Header | XamlRuntime.h |
Windows Embedded CE | Windows Embedded CE 6.0 R3 |