Version

FindCenter Method

Calculates the center of the current chart.
Syntax
'Declaration
 
Public Shared Function FindCenter( _
   ByVal width As Double, _
   ByVal height As Double, _
   ByVal exploded As Boolean, _
   ByVal angle As Double, _
   ByVal radius As Double _
) As Point
public static Point FindCenter( 
   double width,
   double height,
   bool exploded,
   double angle,
   double radius
)

Parameters

width
Width of the control.
height
Height of the control.
exploded
Whether or not the point is exploded.
angle
Angle of the slice.
radius
Radius value.

Return Value

The center point of the chart.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also