DundasWinExtensions
GetAbsoluteCenterPoint Method
See Also  Send comments on this topic.
DundasWinExtensions Assembly > Dundas.Extensions Namespace > PolarChartPaintHelper Class : GetAbsoluteCenterPoint Method


xAxis
Axis X of the charting area.
yAxis
Axis Y of the charting area.
Returns absolute coordinates of the center point of the area.

Syntax

Visual Basic (Declaration)  
Public Shared Function GetAbsoluteCenterPoint( _
   ByVal xAxis As Axis, _
   ByVal yAxis As Axis _
) As PointF
Visual Basic (Usage) Copy Code
Dim xAxis As Axis
Dim yAxis As Axis
Dim value As PointF
 
value = PolarChartPaintHelper.GetAbsoluteCenterPoint(xAxis, yAxis)
C#  
public static PointF GetAbsoluteCenterPoint( 
   Axis xAxis,
   Axis yAxis
)

Parameters

xAxis
Axis X of the charting area.
yAxis
Axis Y of the charting area.

Return Value

Returns absolute coordinates of the center point.

Exceptions

Exception Description
ArgumentNullException Thrown when chart, xAxis or yAxis parameter is null.

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.