Uredi

Deli z drugimi prek


GeneralTransform3DTo2D.TryTransform(Point3D, Point) Method

Definition

Transforms the specified 3-D point and returns the result.

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

Parameters

inPoint
Point3D

The 3-D 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.

TryTransform is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to