Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / NamedStyle Class / CopyFrom Method
Specifies the StyleInfo or NamedStyle object from which to copy
Example


In This Topic
    CopyFrom Method (NamedStyle)
    In This Topic
    Copies the properties of the specified object to the current object.
    Syntax
    'Declaration
     
    
    Public Overrides Sub CopyFrom( _
       ByVal obj As Object _
    ) 
    'Usage
     
    
    Dim instance As NamedStyle
    Dim obj As Object
     
    instance.CopyFrom(obj)
    public override void CopyFrom( 
       object obj
    )

    Parameters

    obj
    Specifies the StyleInfo or NamedStyle object from which to copy
    Example
    This example copies a StyleInfo object into a NamedStyle object and uses it to set the background color of the headers.
    See Also