Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / StyleInfo Class / Compose Method / Compose(StyleInfo,Boolean) Method
Source StyleInfo object from which to get style settings
Whether to overwrite the current settings with the settings from the source object
Example


In This Topic
    Compose(StyleInfo,Boolean) Method
    In This Topic
    Composes style settings using the current style settings and those of a specified object with an option to overwrite the current style settings.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub Compose( _
       ByVal source As StyleInfo, _
       ByVal force As Boolean _
    ) 
    'Usage
     
    
    Dim instance As StyleInfo
    Dim source As StyleInfo
    Dim force As Boolean
     
    instance.Compose(source, force)
    public virtual void Compose( 
       StyleInfo source,
       bool force
    )

    Parameters

    source
    Source StyleInfo object from which to get style settings
    force
    Whether to overwrite the current settings with the settings from the source object
    Remarks
    Set force to true to overwrite the current settings.
    Example
    This example creates two StyleInfo objects and the second instance is composed from the first. The second instance is then assigned to the active sheet.
    See Also