FlexCelImgExport.ExportNext Method
Overloads
- FlexCelImgExport.ExportNext(TUIGraphics, TImgExportInfo)
- FlexCelImgExport.ExportNext(Stream, ImageColorDepth, TXlsImgType, TImgExportInfo)
- FlexCelImgExport.ExportNext(String, ImageColorDepth, TXlsImgType, TImgExportInfo)
- FlexCelImgExport.ExportNext(Stream, PixelFormat, ImageFormat, TImgExportInfo)
- FlexCelImgExport.ExportNext(String, PixelFormat, ImageFormat, TImgExportInfo)
FlexCelImgExport.ExportNext(TUIGraphics, TImgExportInfo)
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
Namespace: FlexCel.Render
public Boolean ExportNext(TUIGraphics imgData, ref TImgExportInfo exportInfo)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
imgData | TUIGraphics | Graphics where the image will be stored. Set it to null to skip the page. | |
ref | exportInfo | TImgExportInfo | 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
FlexCelImgExport.ExportNext(Stream, ImageColorDepth, TXlsImgType, TImgExportInfo)
Exports the associated xls workbook to a stream.
Syntax
Namespace: FlexCel.Render
public Boolean ExportNext(Stream imgStream, ImageColorDepth colorDepth, TXlsImgType imgFormat, ref TImgExportInfo exportInfo)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
imgStream | Stream | Stream where the image will be exported. | |
colorDepth | ImageColorDepth | Number of colors for the image. | |
imgFormat | TXlsImgType | Format for the saved image | |
ref | exportInfo | TImgExportInfo | 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
FlexCelImgExport.ExportNext(String, ImageColorDepth, TXlsImgType, TImgExportInfo)
Exports the associated xls workbook to a file.
Syntax
Namespace: FlexCel.Render
public Boolean ExportNext(String fileName, ImageColorDepth colorDepth, TXlsImgType imgFormat, ref TImgExportInfo exportInfo)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
fileName | String | File to export. | |
colorDepth | ImageColorDepth | Number of colors for the image. | |
imgFormat | TXlsImgType | Format for the saved image | |
ref | exportInfo | TImgExportInfo | 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
FlexCelImgExport.ExportNext(Stream, PixelFormat, ImageFormat, TImgExportInfo)
Exports the associated xls workbook to a stream.
Syntax
Namespace: FlexCel.Render
public Boolean ExportNext(Stream imgStream, PixelFormat format, ImageFormat imgFormat, ref TImgExportInfo exportInfo)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
imgStream | Stream | Stream where the image will be exported. | |
format | PixelFormat | Pixel depth for the created image. | |
imgFormat | ImageFormat | Format for the saved image | |
ref | exportInfo | TImgExportInfo | 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
FlexCelImgExport.ExportNext(String, PixelFormat, ImageFormat, TImgExportInfo)
Exports the associated xls workbook to a file.
Syntax
Namespace: FlexCel.Render
public Boolean ExportNext(String fileName, PixelFormat format, ImageFormat imgFormat, ref TImgExportInfo exportInfo)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
fileName | String | File to export. | |
format | PixelFormat | Pixel depth for the created image. | |
imgFormat | ImageFormat | Format for the saved image | |
ref | exportInfo | TImgExportInfo | Information needed to export, cached for speed. The first time you call this method (or when you change xls.ActiveSheet), make exportInfo=null |