Hi, everyone.
I have mapped in a SQL table some cells I need to get some information in a worksheet.
For Example:
-------------------------------------------------------------
Information Worksheet Cell
-------------------------------------------------------------
NAME 1 A3
-------------------------------------------------------------
I am getting some difficulties when it comes to map images because they do not have a determined cell in excel worksheet.
Today I am using a foreach statement to go through all pictures in the worksheet as shown below:
foreach (Aspose.Cells.Picture pic in wb.Worksheets[0].Pictures)
{
\get picture information
}
The problem is that the pictures are listed randomly and are not associated with an specific cell.
I tried to use LINKEDCELL property but it is always null.
I tried to use the index of picture as reference to map it but it is variable because the order can input the picture in worksheet ramdomly.
So, Anyone can help me with some questions about aspose.Cells:
1) Is there any way to map a picture by a cell in worksheet?
2) If the answer for the question 1 is NO, do you have any suggestion how I can identify each picture in a worksheet?
Thanks in advance