Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Creates a new workbook containing 1 worksheet, in the specified file format. The sheet is blank when the workbook is created, and standard font, style, and format settings applied.

Signature
C#C#
Wiki Markup
{description}
{excerpt}
Creates a new workbook containing 1 worksheet, in the specified file format. The sheet is blank when the workbook is created, and standard font, style, and format settings applied.
{excerpt}
{signature:C#}
public virtual Workbook Create(FileFormat format)
Signature
{signature}
{signature:vb.net
vb.net
}
Public Overridable Function Create(ByVal format As FileFormat) As Workbook
Parameters

...

The file format to use for the workbook.

Returns

A Workbook object representing the created workbook.

Remarks

For more information about the differences between the file formats, see ExcelApplication.FileFormat

{signature}

{parameters}
{param:format}
The [file format|ExcelApplication.FileFormat] to use for the workbook.
{param}
{returns}
A [Workbook|Workbook] object representing the created workbook.
{returns}
{remarks}
For more information about the differences between the file formats, see [ExcelApplication.FileFormat]
{remarks}
{example}
{code:csharp|title=C#}
Workbook wb = xla.Create(ExcelApplication.FileFormat.Xlsx);
{code}
{code:vbnet|title=vb.net
}
Dim wb As Workbook = xla.Create(ExcelApplication.FileFormat.Xlsx)
{code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vbnetvbnettitle