UnionRangeApplyStyle Method |
Applies formats for a whole range.
Namespace:
Aspose.Cells
Assembly:
Aspose.Cells (in Aspose.Cells.dll) Version: 22.5.0.0 (22.5.0)
Syntaxpublic void ApplyStyle(
Style style,
StyleFlag flag
)
Public Sub ApplyStyle (
style As Style,
flag As StyleFlag
)
public:
void ApplyStyle(
Style^ style,
StyleFlag^ flag
)
member ApplyStyle :
style : Style *
flag : StyleFlag -> unit
Parameters
- style
- Type: Aspose.CellsStyle
The style object which will be applied. - flag
- Type: Aspose.CellsStyleFlag
Flags which indicates applied formatting properties.
RemarksEach cell in this range will contains a
Style object.
So this is a memory-consuming method. Please use it carefully.
See Also