Modifica

Condividi tramite


GeneralTransform.TryTransform(Point, Point) Method

Definition

When overridden in a derived class, attempts to transform the specified point and returns a value that indicates whether the transformation was successful.

public:
 abstract bool TryTransform(System::Windows::Point inPoint, [Runtime::InteropServices::Out] System::Windows::Point % result);
public abstract bool TryTransform (System.Windows.Point inPoint, out System.Windows.Point result);
abstract member TryTransform : System.Windows.Point * Point -> bool
Public MustOverride 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