Description |
---|
Excerpt |
---|
Applies a style to the area. When a style is applied - rather than set (see Range.SetStyle ) - only the differences between the new style and style properties previously assigned to the range (through the ExcelWriter API) will take effect. For example, if the range has a background color and the new style applied does not contain a background color, the area's color will not be affected. |
Signature | C# | C# |
---|---|---|
Wiki Markup | ||
{description}
{excerpt}Applies a style to the area. When a style is applied \- rather than set \(see [Range.SetStyle|Range.SetStyle(Style)] \) \- only the differences between the new style and style properties previously assigned to the range \(through the ExcelWriter API\) will take effect. For example, if the range has a background color and the new style applied does not contain a background color, the area's color will not be affected.{excerpt}
{signature:C#}
public void ApplyStyle(Style style)
| ||
Signature | ||
{signature}{signature:vb.net | vb.net | }
Public Sub ApplyStyle(ByVal style As Style)
|
Parameters |
---|
Param | ||
---|---|---|
style | style | A Style object representing the style to apply to the cell.{signature}
{parameters}
{param:style}A [Style|Style] object representing the style to apply to the cell.{param}
|