GeneralTransform.TryTransform(Point, Point) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, attempts to transform the specified point and returns a value that indicates whether the transformation was successful.
public:
abstract bool TryTransform(System::Windows::Point inPoint, [Runtime::InteropServices::Out] System::Windows::Point % result);
public abstract bool TryTransform (System.Windows.Point inPoint, out System.Windows.Point result);
abstract member TryTransform : System.Windows.Point * Point -> bool
Public MustOverride Function TryTransform (inPoint As Point, ByRef result As Point) As Boolean
Parameters
- inPoint
- Point
The 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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.