Load a Web Image from a URL into an Excel Worksheet
Contents
[
Hide
]
Load an Image from a URL into an Excel Worksheet
Aspose.Cells for .NET API provides a simple and easy way to load images from URLs into Excel Worksheets. This article explains downloading the image data into a stream and then inserting it into the worksheet using the Aspose.Cells API. Using this method, the images becomes a part of the excel file and are not downloaded every time the worksheet is opened.
Sample Code
There might be cases where you always want the updated image from a URL. To achieve this, you may follow the instructions given in the Insert a Linked Picture from Web Address article. By following this method, the image is loaded from the URL each time the worksheet is opened.