Convert shape to image
Refer to the following example code to see how to convert a shape in spreadsheet to an image.