2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / ChartCoordArray Class / CopyDataOut Method / CopyDataOut() Method

In This Topic
    CopyDataOut() Method
    In This Topic
    Copies data out of the ChartCoordArray using the default data type.
    Syntax
    'Declaration
     
    Public Overloads Function CopyDataOut() As System.Object
    public System.object CopyDataOut()

    Return Value

    An object containing an array of the default type, appropriately converted from the internal Double(VB) or double(C#) values.
    Remarks

    Although the returned array is an object, the underlying data type will be an array of type Single, Double, Integer, Int16, Int64, Decimal or DateTime (VB) or float, double, int, Int16, Int64, decimal or DateTime (C#). When PointData is managed by the ChartCoordArray, an array PointF objects may also be returned.

    In Visual Basic, it is not necessary to explicitly cast the returned value. The strong typing of C# however, requires an explicit cast.

    Note that all values are stored as a Double(VB) or double(C#) data type internally. Data conversions are performed automatically and as appropriate for the default data type.

    See Also