Insert a Linked Picture from Web Address
Contents
[
Hide
]
Sometimes you need to insert a picture from the web (http://) into a worksheet. To do so, specify the picture’s URL and the picture will be downloaded every time the spreadsheet is opened in Microsoft Excel. The image is not physically embedded into the Excel document, but points to a web resource.
Using Microsoft Excel
In Microsoft Excel (for example 2007):
- Click the Insert menu and select Picture.
- Specify the web address for the picture in the Insert Picture dialog.
Using Aspose.Cells for Python via .NET
Aspose.Cells for Python via .NET supports adding a linked image using the ShapeCollection.add_linked_picture(int upper_left_row, int upper_left_column, int height_pixels, int width_pixels, str source_full_name). The method returns a Picture object.
The following example shows how to add linked picture from web address to a worksheet.