Point3D.PointF Property

.NET Framework (current version)

Gets or sets a PointF structure, which stores the X and Y coordinates of a 3D point.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public PointF PointF { get; set; }

Property Value

Type: System.Drawing.PointF

A PointF structure that represents the X and Y coordinates of a 3D point.

Any point used in custom 3D drawing—which is accomplished using GDI+—must be transformed from X, Y and Z (3D) coordinates into X and Y (2D) coordinates using the TransformPoints method. This method takes an array of Point3D objects as its only parameter. By calling TransformPoints, the X and Y property values are changed to reflect the 3-dimensional space.

These new X and Y coordinates are then converted to absolute coordinates, by using a method such as the GetAbsolutePoint method. After converting the coordinates, the PointF property of each Point3D object can be used for any GDI+ method that take a PointF object as a parameter.

.NET Framework
Available since 4.0
Return to top