0
votes

I am trying to get the current selected sharp or image in Excel by Excel Javascript api.

We can get selected range by context.workbook.getSelectedRange().

But, it seems there is no api for checking the current selection is a sharp or image.

If I try getSelectedRange with selecting a image, it will produce error this method is not support.

How to get the current sharp I selected in Excel worksheet?