Partage via


GeneralTransform3DTo2D.TryTransform(Point3D, Point) Méthode

Définition

Transforme le point 3D spécifié et retourne le résultat.

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

Paramètres

inPoint
Point3D

Point 3D à transformer.

result
Point

Résultat de la transformation de inPoint.

Retours

true si inPoint a été transformé ; 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 le .NET Framework version 3.5. Pour plus d’informations, consultez Versions et dépendances.

S’applique à