Transform.TryTransform(Point, Point) Método

Definición

Intenta transformar el punto especificado y devuelve un valor que indica si la transformación se realizó correctamente.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

Parámetros

inPoint
Point

El punto que se va a transformar.The point to transform.

result
Point

Resultado de transformar inPoint.The result of transforming inPoint.

Devoluciones

Es true si se transformó inPoint; de lo contrario, es false.true if inPoint was transformed; otherwise, false.

Comentarios

A diferencia del Transform método, este método no produce una excepción si la transformación no se realiza correctamente.Unlike the Transform method, this method does not throw an exception if the transformation is unsuccessful.

Se aplica a