[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IStyles.Merge

Merge Method

Merge(IWorkbook, YesNoCancel)

Merges the styles from another workbook into the IStyles collection.

Declaration
void Merge(IWorkbook workbook, YesNoCancel duplicate = YesNoCancel.Cancel)
Sub Merge(workbook As IWorkbook, Optional duplicate As YesNoCancel = YesNoCancel.Cancel)
Parameters
Type Name Description
IWorkbook workbook

An IWorkbook object that represents the workbook containing styles to be merged.

YesNoCancel duplicate

A YesNoCancel value that represents the action for duplicated styles.

Yes to overwrite all duplicated styles.

No to mege only non-duplicated styles.

Cancel to merge nothing if there is a duplicated styles.