Transform.TryTransform(Point, Point) Transform.TryTransform(Point, Point) Transform.TryTransform(Point, Point) Transform.TryTransform(Point, Point) Method

定義

指定されたポイントの変換を試み、その変換が成功したかどうかを示す値を返します。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 *  -> bool
Public Overrides Function TryTransform (inPoint As Point, ByRef result As Point) As Boolean

パラメーター

inPoint
Point Point Point Point

変換する点。The point to transform.

result
Point Point Point Point

inPoint の変換結果。The result of transforming inPoint.

戻り値

inPoint が変換された場合は true。それ以外の場合は falsetrue if inPoint was transformed; otherwise, false.

注釈

Transformメソッドとは異なり、このメソッドでは、変換に失敗した場合に例外がスローされることはありません。Unlike the Transform method, this method does not throw an exception if the transformation is unsuccessful.

適用対象