PointHelper.FromCoordinates method

Applies to Windows and Windows Phone

Creates a new Point value using x- and y-coordinate values in pixels. C# and Microsoft Visual Basic code should use Point(Double,Double) instead.

Syntax


public static Point FromCoordinates(
  float x, 
  float y
)

Parameters

x

Type: System.Single [.NET] | float32 [C++]

The pixel value to set for X.

y

Type: System.Single [.NET] | float32 [C++]

The pixel value to set for Y.

Return value

Type: Point

The created Point.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Windows.winmd

See also

PointHelper

 

 

Show:
© 2014 Microsoft