...
Description |
---|
Excerpt | ||||
---|---|---|---|---|
Opens an ExcelWriter template from a
|
...
|
...
|
Signature | ||||
---|---|---|---|---|
| ||||
public virtual void Open(System.IO.Stream stream)
{signature}
{signature: |
Signature | ||||||
---|---|---|---|---|---|---|
| }
| |||||
Public Overridable Sub Open(ByVal stream As System.IO.Stream)
{signature}
{parameters}
{param:templateStream}A {{ |
Parameters |
---|
Param | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||
A object, or a class derived from {{
(for example, {
|
Exceptions |
---|
Exception | ||||
---|---|---|---|---|
| ||||
Open will throw this exception if |
Exception | ||||
---|---|---|---|---|
| ||||
Remarks |
---|
If your template file is the new Office Open XML (.xlsx) format, you can pass it into the ExcelTemplate.Open method just as you would a BIFF8 (.xls) Excel file. You will need to remember to give the output file a ".xlsx" extension when you call Save, as ExcelWriter cannot convert .xlsx files to .xls. |
Example | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|