[]
Deletes this style.
Use this method to remove a custom named style from the workbook. Built-in styles cannot be deleted.
bool Delete()
Function Delete() As Boolean
| Type | Description |
|---|---|
| bool |
|
IStyle style = workbook.Styles.Add("TemporaryStyle");
worksheet.Range["A1"].Style = style;
worksheet.Range["A1"].Style = workbook.Styles["Normal"];
bool deleted = style.Delete();