Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
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:vb.net}
Public Overridable Function Create(ByVal format As FileFormat) As Workbook
{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}