C# Class Simplexcel.Workbook

Exibir arquivo Open project: mstum/Simplexcel

Private Properties

Property Type Description

Public Methods

Method Description
Add ( Worksheet sheet ) : void

Add a worksheet to this workbook. Sheet names must be unique.

Save ( Stream stream, CompressionLevel compressionLevel ) : void

Save this workbook to the given stream

Save ( string filename ) : void

Save this workbook to a file, overwriting the file if it exists

Save ( string filename, CompressionLevel compressionLevel ) : void

Save this workbook to a file, overwriting the file if it exists

Method Details

Add() public method

Add a worksheet to this workbook. Sheet names must be unique.
Thrown if a sheet with the same Name already exists
public Add ( Worksheet sheet ) : void
sheet Worksheet
return void

Save() public method

Save this workbook to the given stream
Thrown if there are no sheets in the workbook.
public Save ( Stream stream, CompressionLevel compressionLevel ) : void
stream Stream
compressionLevel CompressionLevel How much should content in a workbook be compressed? (Higher CPU Usage)
return void

Save() public method

Save this workbook to a file, overwriting the file if it exists
Thrown if there are no sheets in the workbook.
public Save ( string filename ) : void
filename string
return void

Save() public method

Save this workbook to a file, overwriting the file if it exists
Thrown if there are no sheets in the workbook.
public Save ( string filename, CompressionLevel compressionLevel ) : void
filename string
compressionLevel CompressionLevel How much should content in a workbook be compressed? (Higher CPU Usage)
return void