Spread Windows Forms 12.0 Product Documentation
Merge Method (IStyles)


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.

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)
void Merge( 
   IWorkbook workbook,
   YesNoCancel 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

Reference

IStyles Interface
IStyles Members