Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IStyles Interface / Merge Method
An IWorkbook object that represents the workbook containing styles to be merged.
A YesNoCancel value that represents the action for duplicated styles.

YesNoCancel.Yes to overwrite all duplicated styles.

YesNoCancel.No to mege only non-duplicated styles.

YesNoCancel.Cancel to merge nothing if there is a duplicated styles.



In This Topic
    Merge Method (IStyles)
    In This Topic
    Merges the styles from another workbook into the IStyles collection.
    Syntax
    'Declaration
     
    
    Sub Merge( _
       ByVal workbook As IWorkbook, _
       Optional ByVal duplicate As YesNoCancel _
    ) 
    'Usage
     
    
    Dim instance As IStyles
    Dim workbook As IWorkbook
    Dim duplicate As YesNoCancel
     
    instance.Merge(workbook, duplicate)

    Parameters

    workbook
    An IWorkbook object that represents the workbook containing styles to be merged.
    duplicate
    A YesNoCancel value that represents the action for duplicated styles.

    YesNoCancel.Yes to overwrite all duplicated styles.

    YesNoCancel.No to mege only non-duplicated styles.

    YesNoCancel.Cancel to merge nothing if there is a duplicated styles.

    See Also