TFlexCelImgExport.ExportNext Method
Overloads
TFlexCelImgExport.ExportNext(TUIGraphics, IImgExportInfo)
Exports the associated xls workbook to a graphics stream. You need to provide a Graphics object with the correct dimensions. (To get the needed dimensions, use GetRealPageSize
Syntax
Unit: FlexCel.Render
function TFlexCelImgExport.ExportNext(imgData: TUIGraphics; var exportInfo: IImgExportInfo): Boolean; overload;
Parameters
<-> |
Parameter |
Type |
Description |
|
imgData |
TUIGraphics |
Graphics where the image will be stored. Set it to null to skip the page. |
var |
exportInfo |
IImgExportInfo |
Information needed to export, cached for speed. The first time you call this method (or when you change xls.ActiveSheet), make exportInfo=null |
See also
TFlexCelImgExport.ExportNext(TStream, TImageColorDepth, TXlsImgType, IImgExportInfo)
Exports the associated xls workbook to a stream.
Syntax
Unit: FlexCel.Render
function TFlexCelImgExport.ExportNext(const imgStream: TStream; const colorDepth: TImageColorDepth; const imgFormat: TXlsImgType; var exportInfo: IImgExportInfo): Boolean; overload;
Parameters
<-> |
Parameter |
Type |
Description |
const |
imgStream |
TStream |
Stream where the image will be exported. |
const |
colorDepth |
TImageColorDepth |
Number of colors for the image. |
const |
imgFormat |
TXlsImgType |
Format for the saved image |
var |
exportInfo |
IImgExportInfo |
Information needed to export, cached for speed. The first time you call this method (or when you change xls.ActiveSheet), make exportInfo=null |
See also
TFlexCelImgExport.ExportNext(string, TImageColorDepth, TXlsImgType, IImgExportInfo)
Exports the associated xls workbook to a file.
Syntax
Unit: FlexCel.Render
function TFlexCelImgExport.ExportNext(const fileName: string; const colorDepth: TImageColorDepth; const imgFormat: TXlsImgType; var exportInfo: IImgExportInfo): Boolean; overload;
Parameters
<-> |
Parameter |
Type |
Description |
const |
fileName |
string |
File to export. |
const |
colorDepth |
TImageColorDepth |
Number of colors for the image. |
const |
imgFormat |
TXlsImgType |
Format for the saved image |
var |
exportInfo |
IImgExportInfo |
Information needed to export, cached for speed. The first time you call this method (or when you change xls.ActiveSheet), make exportInfo=null |
See also