FlexCelImgExport.SaveAsImage Method
Overloads
- FlexCelImgExport.SaveAsImage(String, ImageExportType, ImageColorDepth)
- FlexCelImgExport.SaveAsImage(Stream, ImageExportType, ImageColorDepth)
FlexCelImgExport.SaveAsImage(String, ImageExportType, ImageColorDepth)
Saves the current Excel file as an image file.
Syntax
Namespace: FlexCel.Render
public void SaveAsImage(String fileName, ImageExportType exportFormat, ImageColorDepth ColorDepth)
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| fileName | String | File where the image will be saved. | |
| exportFormat | ImageExportType | Image format. | |
| ColorDepth | ImageColorDepth | Color depth for the image, if applicable. Some formats (like fax, that is monochrome) do not allow different color depths. |
See also
FlexCelImgExport.SaveAsImage(Stream, ImageExportType, ImageColorDepth)
Saves the current Excel file on an image stream.
Syntax
Namespace: FlexCel.Render
public void SaveAsImage(Stream fileStream, ImageExportType exportFormat, ImageColorDepth ColorDepth)
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| fileStream | Stream | Stream where the image will be saved. | |
| exportFormat | ImageExportType | Image format. | |
| ColorDepth | ImageColorDepth | Color depth for the image, if applicable. Some formats (like fax, that is monochrome) do not allow different color depots. |