Return the content of the indicated image.
1 excel.PictureData.getData
<excel.PictureData.getData>
<image /> +
</excel.PictureData.getData>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Eimage | HSSFPictureData | Excel image <HSSFPictureData>. |
Returns | |
---|---|
Type | Description |
Byte[] | Array of bytes of the content of the image. |
Example
Get the format of the images of a excel book.
Copy
<xsql-script> <body> <iterator name='m_image'> <in> <excel.Workbook.getAllPictures> <excel.Workbook> <file name='C:\tmp\Book1.xls' type='absolute' /> </excel.Workbook> </excel.Workbook.getAllPictures> </in> <do> <println> <excel.PictureData.getData> <m_image /> </excel.PictureData.getData> </println> </do> </iterator> </body> </xsql-script>