Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Appearance Class / Clone Method
Example


In This Topic
    Clone Method (Appearance)
    In This Topic
    Creates a new Appearance object that is a copy of the current instance.
    Syntax
    'Declaration
     
    
    Public Overridable Function Clone() As Object
    'Usage
     
    
    Dim instance As Appearance
    Dim value As Object
     
    value = instance.Clone()
    public virtual object Clone()

    Return Value

    Object containing a new copy of the Appearance object
    Example
    This example creates two Appearance objects and a Cell object. Several properties are set for the first Appearance object, and they are subsequently cloned to the second instance. The properties are then applied from the second Appearance object to the Cell objects corresponding properties.
    See Also