Editar

Compartilhar via


Transform.TryTransform(Point, Point) Method

Definition

Attempts to transform the specified point and returns a value that indicates whether the transformation was successful.

public:
 override bool TryTransform(System::Windows::Point inPoint, [Runtime::InteropServices::Out] System::Windows::Point % result);
public override bool TryTransform (System.Windows.Point inPoint, out System.Windows.Point result);
override this.TryTransform : System.Windows.Point * Point -> bool
Public Overrides Function TryTransform (inPoint As Point, ByRef result As Point) As Boolean

Parameters

inPoint
Point

The point to transform.

result
Point

The result of transforming inPoint.

Returns

true if inPoint was transformed; otherwise, false.

Remarks

Unlike the Transform method, this method does not throw an exception if the transformation is unsuccessful.

Applies to