Spread for ASP.NET 11 Product Documentation
Clone Method (SpreadChart)
Example 


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

Reference

SpreadChart Class
SpreadChart Members