Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / StyleInfo Class / CopyFrom Method
StyleInfo object from which to copy style settings
Example


In This Topic
    CopyFrom Method (StyleInfo)
    In This Topic
    Copies the specified style settings of the specified object to the current object.
    Syntax
    'Declaration
     
    
    Public Overridable Sub CopyFrom( _
       ByVal obj As Object _
    ) 
    'Usage
     
    
    Dim instance As StyleInfo
    Dim obj As Object
     
    instance.CopyFrom(obj)
    public virtual void CopyFrom( 
       object obj
    )

    Parameters

    obj
    StyleInfo object from which to copy style settings
    Example
    This example creates two StyleInfo objects and the second instance is copied from the first. The second instance is then assigned to the active sheet.
    See Also