Spread Windows Forms 11.0 Product Documentation
Clone Method (SpreadChart)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Chart Namespace > SpreadChart Class : Clone Method
Creates and returns a copy of the object.
Syntax
'Declaration
 
Public Overrides Function Clone() As Object
'Usage
 
Dim instance As SpreadChart
Dim value As Object
 
value = instance.Clone()
public override object Clone()
Example
This example uses the Clone method.
FarPoint.Win.Spread.Chart.SpreadChart chart1 = new FarPoint.Win.Spread.Chart.SpreadChart();
FarPoint.Win.Spread.Chart.SpreadChart chart2 = (FarPoint.Win.Spread.Chart.SpreadChart)chart1.Clone();
Dim chart1 As New FarPoint.Win.Spread.Chart.SpreadChart()
Dim chart2 As FarPoint.Win.Spread.Chart.SpreadChart = DirectCast(chart1.Clone(), FarPoint.Win.Spread.Chart.SpreadChart)
See Also

Reference

SpreadChart Class
SpreadChart Members