Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / StyleInfo Class / Clone Method
Example


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

    Return Value

    Object containing a copy of the StyleInfo object
    Example
    This example creates two StyleInfo objects and the second instance is a clone of the first. The second instance is then assigned to the active sheet.
    See Also