Export (0) Print
Expand All

Point3D Class

Represents the coordinates of a three-dimensional (3D) data point. This class is used when performing custom drawing with 3D charts.

System.Object
  System.Web.UI.DataVisualization.Charting.Point3D

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

public class Point3D

The Point3D type exposes the following members.

  NameDescription
Public methodPoint3D()Initializes a new instance of the Point3D class.
Public methodPoint3D(Single, Single, Single)Initializes a new instance of the AnnotationPathPoint class with the specified X, Y and Z coordinates.
Top

  NameDescription
Public propertyPointFGets or sets a PointF structure, which stores the X and Y coordinates of a 3D point.
Public propertyXGets or sets the X coordinate of a 3D point.
Public propertyYGets or sets the Y coordinate of a 3D point.
Public propertyZGets or sets the Z coordinate of a 3D point.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

The Point3D class represents the coordinates of a 3D data point.

Any point used in custom 3D drawing—which is accomplished using GDI+—must be transformed from relative X, Y and Z (3D) coordinates into relative X and Y (2D) coordinates using the TransformPoints method. By calling TransformPoints, the X and Y-values of the Point3D objects are changed so that they reflect the 3-dimensional space. The new X and Y points can then be used for GDI+ method calls—the Z value is then disregarded—after being changed to absolute pixel coordinates using the GetAbsolutePoint method.

Note that the Z coordinate may be less than zero (located behind a chart area) or greater than 100 (located in front of a chart area).

To both enable 3D charts and work with their styles, use the Area3DStyle property. The Point3D class is not used for 3D styles.

.NET Framework

Supported in: 4.6, 4.5, 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft