[]
Gets or sets the named style IStyle associated with the cells represented by this IRange.
IStyle Style { get; set; }
Property Style As IStyle
| Type | Description |
|---|---|
| IStyle | The style. |
IStyle style = workbook.Styles.Add("InputStyle");
style.Font.Bold = true;
IRange range = worksheet.Range["A1"];
range.Style = style;
IStyle appliedStyle = range.Style;