Is there a way to draw an image directly to the canvas that contains the cells of Excel using VSTO without having to insert a shape?
I have seen it done and I know that it is possible I just can't seem to be able to find a source of information.
Range cell = sheet.Cells[1, 1];
var border = cell.Borders[XlBordersIndex.xlDiagonalDown];
border.Weight = XlBorderWeight.xlThin;
border.LineStyle = XlLineStyle.xlContinuous;
This code snippet seems to produce a drawing inside the canvas of the cell. I need to access the layer that this draws onto.