TFlexCelImgExport.SaveAsImage Method
Overloads
- TFlexCelImgExport.SaveAsImage(string, TImageExportType, TImageColorDepth)
- TFlexCelImgExport.SaveAsImage(TStream, TImageExportType, TImageColorDepth)
TFlexCelImgExport.SaveAsImage(string, TImageExportType, TImageColorDepth)
Saves the current Excel file as an image file.
Syntax
Unit: FlexCel.Render
procedure TFlexCelImgExport.SaveAsImage(const fileName: string; const exportFormat: TImageExportType; const ColorDepth: TImageColorDepth); overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | fileName | string | File where the image will be saved. |
const | exportFormat | TImageExportType | Image format. |
const | ColorDepth | TImageColorDepth | Color depth for the image, if applicable. Some formats (like fax, that is monochrome) do not allow different color depths. |
See also
TFlexCelImgExport.SaveAsImage(TStream, TImageExportType, TImageColorDepth)
Saves the current Excel file on an image stream.
Syntax
Unit: FlexCel.Render
procedure TFlexCelImgExport.SaveAsImage(const fileStream: TStream; const exportFormat: TImageExportType; const ColorDepth: TImageColorDepth); overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | fileStream | TStream | Stream where the image will be saved. |
const | exportFormat | TImageExportType | Image format. |
const | ColorDepth | TImageColorDepth | Color depth for the image, if applicable. Some formats (like fax, that is monochrome) do not allow different color depots. |