Visual Basic (Declaration) | |
---|---|
Public Function Clone() As Object |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SpreadChart Dim value As Object value = instance.Clone() |
C# | |
---|---|
public object Clone() |
This example uses the Clone method.
C# | Copy Code |
---|---|
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(); |
Visual Basic | Copy Code |
---|---|
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) |
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