IXRStrokeCollection::GetBounds (Windows Embedded CE 6.0)
1/6/2010
This method returns the bounds of the strokes in this collection.
Syntax
virtual HRESULT STDMETHODCALLTYPE GetBounds(
XRRect* pValue
) = 0;
Parameters
- pValue
[out] Pointer to an XRRect structure that describes the bounds of the strokes in this collection.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
Do not try to set values in the XRRect structure that is provided in pValue on return. It should be used for reference only.
There are several scenarios for using the returned XRRect structure. XRRect can be used as input for an IXRRectangleGeometry object that displays a bounding box in the UI, or it can be used to check for intersecting strokes or to perform other kinds of hit-testing.
.NET Framework Equivalent
System.Windows.Ink.StrokeCollection.GetBounds
Requirements
Header | XamlRuntime.h |
sysgen | SYSGEN_XAML_RUNTIME |
Windows Embedded CE | Windows Embedded CE 6.0 R3 |