Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IPointerPointTransform.TransformBounds method

Applies to Windows and Windows Phone

Transforms the specified bounding rectangle.

Syntax


Rect TransformBounds(
  Rect rect
)

Parameters

rect

Type: Rect

The bounding rectangle to transform.

Return value

Type: Rect

The smallest, axis-aligned bounding box that encloses rect after the transformation. (An axis-aligned bounding box is one which has all sides parallel to the coordinate axes.)

Error codes

NameMeaning
S_OK

The operation completed successfully.

Remarks

rect is typically the ContactRect associated with the input point that is transformed through the TryTransform method. rect must be recalculated as it does not change with the transformation of the input point.

This method should return an HResult that identifies whether the transformation was successful.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI.Input
Windows::UI::Input [C++]

Metadata

Windows.winmd

See also

IPointerPointTransform

 

 

Show:
© 2014 Microsoft