Wiki Markup |
---|
{description} {excerpt}Creates a global style, which can be bound to cells, areas, ranges, rows, and columns. Any later changes to this style will affect all cells to which the style was bound.{excerpt} {signature:C#} public GlobalStyle CreateStyle() {signature}{signature:vb.net} Public Function CreateStyle() As GlobalStyle {signature} {returns}A [GlobalStyle|GlobalStyle] object which can be linked and applied to cells, but will not be accessible from the generated Excel spreadsheet.{returns} {remarks}To bind a style to a cell or set of cells, use either [Style|Style] or {{ApplyStyle}}. Both are accessible through the following objects: [Cell|Cell], [Area|Area], [Range|Range], [RowProperties|RowProperties], and [ColumnProperties|ColumnProperties]. {remarks} {example}{code:csharp|title=C#} Style styl = wb.CreateStyle();{code} {code:vb.net|title=vb.net} Dim styl As Style = wb.CreateStyle(){code} {example} |
Page History
Overview
Content Tools