Dundas Chart for Windows Forms
PointF Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Point3D Class : PointF Property


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


Y coordinate of the point.

Syntax

Visual Basic (Declaration)  
Public Property PointF As PointF
Visual Basic (Usage) Copy Code
Dim instance As Point3D
Dim value As PointF
 
instance.PointF = value
 
value = instance.PointF
C#  
public PointF PointF {get; set;}

Return Value

Gets or sets a PointF structure.

Remarks

Any point used in custom 3D drawing (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 for its one parameter, and 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 changed to absolute coordinates (e.g. using the GetAbsolutePoint method of a ChartGraphics object), after which the PointF property of each Point3D object can be used for any GDI+ methods that take a PointF object as a parameter.

For more information see the "Custom Drawing Section" in the Working with 3D Charts  topic.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.