Langue

GeneralTransform2DTo3D.TryTransform(Point, Point3D) Méthode

Définition

Tente de transformer le point spécifié et retourne une valeur qui indique si la transformation a réussi.

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

Paramètres

inPoint
Point

Point à transformer.

result
Point3D

Résultat de la inPointtransformation .

Retours

true si inPoint elle a été transformée ; sinon, false.

Remarques

Contrairement à la Transform méthode, cette méthode ne lève pas d’exception si la transformation échoue.

TryTransform est introduit dans .NET Framework version 3.5. Pour plus d’informations, consultez Versions et dépendances.

S’applique à