<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Documentation – Managing Pictures with Golang via C&#43;&#43;</title>
    <link>https://docs.aspose.com/cells/go-cpp/managing-pictures/</link>
    <description>Recent content in Managing Pictures with Golang via C&#43;&#43; on Documentation</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    
	  <atom:link href="https://docs.aspose.com/cells/go-cpp/managing-pictures/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Gocpp: Load a Web Image from a URL into an Excel Worksheet with Go via C&#43;&#43;</title>
      <link>https://docs.aspose.com/cells/go-cpp/load-a-web-image-from-a-url-into-an-excel-worksheet/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://docs.aspose.com/cells/go-cpp/load-a-web-image-from-a-url-into-an-excel-worksheet/</guid>
      <description>
        
        
        &lt;h2 id=&#34;load-an-image-from-a-url-into-an-excel-worksheet&#34;&gt;Load an Image from a URL into an Excel Worksheet&lt;/h2&gt;
&lt;p&gt;Aspose.Cells for C++ API provides a straightforward method to load images from URLs into Excel worksheets. This article explains how to download image data into a memory stream and insert it into the worksheet using Aspose.Cells. The image becomes embedded in the Excel file and doesn&amp;rsquo;t require external downloads when opened.&lt;/p&gt;
&lt;h2 id=&#34;sample-code&#34;&gt;Sample Code&lt;/h2&gt;
&lt;p&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-cells-gists/b414abd53259bbc47d2c3c0fe985395b.js?file=Examples-Go-CPP-LoadAWebImageFromAUrlIntoAnExcelWorksheet.go&#34;&gt;&lt;/script&gt;



&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;

For scenarios requiring always‑updated images from a URL, use the method described in &lt;a href=&#34;https://docs.aspose.com/cells/cells/cpp/insert-a-linked-picture-from-web-address/&#34;&gt;Insert a Linked Picture from Web Address&lt;/a&gt;. This approach loads the image from the URL each time the worksheet is opened.
&lt;/div&gt;
&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Gocpp: Inserting an Image into a Cell</title>
      <link>https://docs.aspose.com/cells/go-cpp/inserting-an-image-into-a-cell/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://docs.aspose.com/cells/go-cpp/inserting-an-image-into-a-cell/</guid>
      <description>
        
        
        

&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;

Aspose.Cells provides two distinct ways to associate an image with a single cell. A floating picture is a shape on the worksheet drawing layer that visually overlays a cell range, while an embedded image is stored inside the cell itself and scales automatically to the cell&amp;rsquo;s display area. Choose the approach that best matches your layout requirements.
&lt;/div&gt;

&lt;h2 id=&#34;introduction&#34;&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;Fitting a picture exactly to a single cell is a common requirement when designing spreadsheets that act as visual reports, product catalogs, employee directories, dashboards, or inventory lists. Rather than stretching an image across many cells or placing it loosely on a worksheet, you may want a clean, cell-bound image that stays aligned with the cell that owns it.
Aspose.Cells supports this scenario in two complementary ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Approach 1 — Place a floating picture over a cell.&lt;/strong&gt; Add a &lt;code&gt;Picture&lt;/code&gt; to the worksheet, set its &lt;code&gt;Placement&lt;/code&gt; to &lt;code&gt;MoveAndSize&lt;/code&gt;, and adjust its anchor cells (&lt;code&gt;UpperLeftRow&lt;/code&gt;, &lt;code&gt;UpperLeftColumn&lt;/code&gt;, &lt;code&gt;LowerRightRow&lt;/code&gt;, &lt;code&gt;LowerRightColumn&lt;/code&gt;) so the picture covers exactly one cell.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Approach 2 — Embed an image directly in a cell.&lt;/strong&gt; Assign image bytes to the cell&amp;rsquo;s &lt;code&gt;EmbeddedImage&lt;/code&gt; property. The image automatically scales to fit the cell&amp;rsquo;s display area and travels with the cell.
The rest of this article walks through both approaches, explains the relevant APIs, and shows how to use them in code.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;approach-1-place-a-picture-over-a-cell&#34;&gt;&lt;strong&gt;Approach 1: Place a Picture Over a Cell&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;A floating picture is a &lt;code&gt;Picture&lt;/code&gt; object that lives on the worksheet drawing layer. Although it is not part of any single cell, it is anchored to a cell range. The picture&amp;rsquo;s anchor cells — its upper-left and lower-right corners — determine its visual extent on the worksheet. By default, a freshly added picture spans several cells.
To make a floating picture cover &lt;strong&gt;exactly one cell&lt;/strong&gt;, you need to:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Add the picture using &lt;code&gt;Worksheet.Pictures.Add(int row, int column, Vector&amp;lt;uint8_t&amp;gt; stream)&lt;/code&gt;, which anchors the new picture to the given cell.&lt;/li&gt;
&lt;li&gt;Set the four anchor properties so the picture&amp;rsquo;s bounding rectangle coincides with the target cell.&lt;/li&gt;
&lt;li&gt;Set &lt;code&gt;Picture.Placement&lt;/code&gt; to &lt;code&gt;PlacementType.MoveAndSize&lt;/code&gt; so the picture moves and resizes with the underlying cell when the user changes the column width or row height.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;anchoring-the-picture-to-a-single-cell&#34;&gt;&lt;strong&gt;Anchoring the Picture to a Single Cell&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;The picture&amp;rsquo;s anchor is defined by four zero-based index properties:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Picture.UpperLeftRow&lt;/code&gt; — the row index of the picture&amp;rsquo;s top edge.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Picture.UpperLeftColumn&lt;/code&gt; — the column index of the picture&amp;rsquo;s left edge.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Picture.LowerRightRow&lt;/code&gt; — the row index of the picture&amp;rsquo;s bottom edge. To make the picture&amp;rsquo;s bottom edge sit at the bottom of row &lt;code&gt;r&lt;/code&gt;, set this to &lt;code&gt;r + 1&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Picture.LowerRightColumn&lt;/code&gt; — the column index of the picture&amp;rsquo;s right edge. To make the picture&amp;rsquo;s right edge sit at the right of column &lt;code&gt;c&lt;/code&gt;, set this to &lt;code&gt;c + 1&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;


&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;

&lt;p&gt;Row and column indices in Aspose.Cells are &lt;strong&gt;zero-based&lt;/strong&gt;. Cell C6 has row index 5 and column index 2. Off-by-one errors on the lower-right anchor are the most common source of pictures that appear to overlap into an adjacent cell.&lt;/p&gt;
&lt;h3 id=&#34;controlling-placement-behavior&#34;&gt;&lt;strong&gt;Controlling Placement Behavior&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;Picture.Placement&lt;/code&gt; is an enum of type &lt;code&gt;PlacementType&lt;/code&gt; that controls how the picture behaves when the user resizes the row or column beneath it. The recommended value for a single-cell picture is &lt;code&gt;PlacementType.MoveAndSize&lt;/code&gt;, which causes the picture to move and resize together with its underlying cell, preserving the exact fit.&lt;/p&gt;
&lt;h3 id=&#34;step-by-step-instructions&#34;&gt;&lt;strong&gt;Step-by-Step Instructions&lt;/strong&gt;&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Create a new &lt;code&gt;Workbook&lt;/code&gt; (or open an existing one).&lt;/li&gt;
&lt;li&gt;Access the target &lt;code&gt;Worksheet&lt;/code&gt; from &lt;code&gt;workbook.GetWorksheets().Get(0]&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Read the image file from disk into a &lt;code&gt;Vector&amp;lt;uint8_t&amp;gt;&lt;/code&gt; byte buffer so the image bytes are available to the API.&lt;/li&gt;
&lt;li&gt;Call &lt;code&gt;worksheet.Pictures.Add(5, 2, imageData)&lt;/code&gt; to add a picture anchored to cell C6. Capture the returned &lt;code&gt;Picture&lt;/code&gt; reference.&lt;/li&gt;
&lt;li&gt;Set the four anchor coordinates so the picture covers only cell C6: &lt;code&gt;UpperLeftRow = 5&lt;/code&gt;, &lt;code&gt;UpperLeftColumn = 2&lt;/code&gt;, &lt;code&gt;LowerRightRow = 6&lt;/code&gt;, &lt;code&gt;LowerRightColumn = 3&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Set &lt;code&gt;picture.Placement = PlacementType.MoveAndSize&lt;/code&gt; to keep the picture aligned with C6 when the column or row is resized.&lt;/li&gt;
&lt;li&gt;Optionally add sample text to surrounding cells to demonstrate that only cell C6 contains the picture.&lt;/li&gt;
&lt;li&gt;Save the workbook to disk as an &lt;code&gt;.xlsx&lt;/code&gt; file.
The following code demonstrates the complete approach.&lt;/li&gt;
&lt;/ol&gt;
&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-cells-gists/b414abd53259bbc47d2c3c0fe985395b.js?file=Examples-Go-CPP-InsertingAnImageIntoACell.go&#34;&gt;&lt;/script&gt;
&lt;h2 id=&#34;approach-2-embed-an-image-directly-in-a-cell&#34;&gt;&lt;strong&gt;Approach 2: Embed an Image Directly in a Cell&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;Aspose.Cells also exposes a simpler mechanism for cell-bound images: the &lt;code&gt;Cell.EmbeddedImage&lt;/code&gt; property. Assigning image bytes to this property attaches the image to the cell itself, as if it were inline content.&lt;/p&gt;
&lt;h3 id=&#34;how-embedded-images-work&#34;&gt;&lt;strong&gt;How Embedded Images Work&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The image is stored as part of the cell content rather than as a shape on the drawing layer.&lt;/li&gt;
&lt;li&gt;The image automatically scales to fit inside the cell&amp;rsquo;s rendered boundaries. No anchor coordinates or placement settings are required.&lt;/li&gt;
&lt;li&gt;The cell remains a real cell with a real address that can be referenced by formulas, sorted as part of a row, or used in other cell-level operations.
This makes &lt;code&gt;Cell.EmbeddedImage&lt;/code&gt; the most concise option when your goal is simply &amp;ldquo;an image that lives inside this cell.&amp;rdquo;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;step-by-step-instructions-1&#34;&gt;&lt;strong&gt;Step-by-Step Instructions&lt;/strong&gt;&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Create a new &lt;code&gt;Workbook&lt;/code&gt; (or open an existing one).&lt;/li&gt;
&lt;li&gt;Access the target &lt;code&gt;Worksheet&lt;/code&gt; from &lt;code&gt;workbook.GetWorksheets().Get(0]&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Read the image file from disk into a &lt;code&gt;Vector&amp;lt;uint8_t&amp;gt;&lt;/code&gt; byte array.&lt;/li&gt;
&lt;li&gt;Get a reference to the target cell — either through &lt;code&gt;worksheet.GetCells().Get(&amp;quot;C6&amp;quot;]&lt;/code&gt; or &lt;code&gt;worksheet.GetCells().Get(5, 2]&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Assign the byte array to the cell&amp;rsquo;s &lt;code&gt;EmbeddedImage&lt;/code&gt; property.&lt;/li&gt;
&lt;li&gt;Optionally adjust the row height and column width of the target row and column to give the embedded image a more prominent appearance.&lt;/li&gt;
&lt;li&gt;Save the workbook to disk as an &lt;code&gt;.xlsx&lt;/code&gt; file.
The following code demonstrates the complete approach.&lt;/li&gt;
&lt;/ol&gt;
&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-cells-gists/b414abd53259bbc47d2c3c0fe985395b.js?file=Examples-Go-CPP-InsertingAnImageIntoACell-1.go&#34;&gt;&lt;/script&gt;
&lt;h2 id=&#34;choosing-the-right-approach&#34;&gt;&lt;strong&gt;Choosing the Right Approach&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;Both approaches produce a picture that fits inside a single cell, but they differ in how the picture is stored and how it behaves:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Use a floating picture (Approach 1) when:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;You need finer control over placement, layering, or alignment with other drawing objects.&lt;/li&gt;
&lt;li&gt;You want the picture to behave as a shape that can be selected, reordered, or grouped with other shapes.&lt;/li&gt;
&lt;li&gt;You require legacy compatibility with code that already works with &lt;code&gt;PictureCollection&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;You need to compute anchor coordinates dynamically based on worksheet layout.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Use an embedded image (Approach 2) when:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;You want the simplest possible insertion of an image into a cell.&lt;/li&gt;
&lt;li&gt;The image should travel with the cell like any other cell content.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h2 id=&#34;related-articles&#34;&gt;Related Articles&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.aspose.com/cells/cells/go-cpp/excel-camera/&#34;&gt;Excel Camera in Aspose.Cells for Go via C++&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.aspose.com/cells/cells/go-cpp/add-page-field-in-pivot-table/&#34;&gt;Add Filter Fields to a Pivot Table in Aspose.Cells for Go via C++&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.aspose.com/cells/cells/go-cpp/apply-style-to-pivot-table/&#34;&gt;Apply Styles to Pivot Tables in Aspose.Cells for Go via C++&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.aspose.com/cells/cells/go-cpp/change-page-field-layout/&#34;&gt;Modify Page Field Layout in Pivot Table&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.aspose.com/cells/cells/go-cpp/convert-sparkline-to-image-and-html/&#34;&gt;Convert Sparkline to Image and HTML in Aspose.Cells for Go via C++&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;button class=&#34;floating-button&#34; id=&#34;openModalBtn&#34;&gt;AI Document Assistant&lt;/button&gt;

&lt;div class=&#34;modal&#34; id=&#34;modal&#34;&gt;
    &lt;button class=&#34;close-btn&#34; id=&#34;closeModalBtn&#34;&gt;Close&lt;/button&gt;
    &lt;iframe src=&#34;https://products.aspose.ai/cells/chat/document/go?source=docs&#34; frameborder=&#34;0&#34; width=&#34;100%&#34; height=&#34;100%&#34;&gt;&lt;/iframe&gt;
&lt;/div&gt;

&lt;style&gt;
    .floating-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: #007bff;
        color: white;
        border: none;
        padding: 15px 20px;
        border-radius: 50px;
        cursor: pointer;
        font-size: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

    .modal {
        display: none;
        position: fixed;
        top: 10%;
        left: 10%;
        width: 80%;
        height: 80%;
        background-color: white;
        border: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        padding: 20px;
        box-sizing: border-box;
    }

    .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: #f44336;
        color: white;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        font-size: 16px;
        border-radius: 3px;
    }
&lt;/style&gt;

&lt;script&gt;
    const openModalBtn = document.getElementById(&#39;openModalBtn&#39;);
    const closeModalBtn = document.getElementById(&#39;closeModalBtn&#39;);
    const modal = document.getElementById(&#39;modal&#39;);

    openModalBtn.addEventListener(&#39;click&#39;, function() {
        modal.style.display = &#39;block&#39;;
    });

    closeModalBtn.addEventListener(&#39;click&#39;, function() {
        modal.style.display = &#39;none&#39;;
    });

    window.addEventListener(&#39;click&#39;, function(event) {
        if (event.target === modal) {
            modal.style.display = &#39;none&#39;;
        }
    });
&lt;/script&gt;


      </description>
    </item>
    
    <item>
      <title>Gocpp: Insert a Picture Based on Cell Reference with Golang via C&#43;&#43;</title>
      <link>https://docs.aspose.com/cells/go-cpp/insert-a-picture-based-on-cell-reference/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://docs.aspose.com/cells/go-cpp/insert-a-picture-based-on-cell-reference/</guid>
      <description>
        
        
        

&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;

Sometimes you have an empty picture and need to display data or content in the picture by setting a cell reference in the Formula Bar. Aspose.Cells supports this feature (Microsoft Excel 2010).
&lt;/div&gt;

&lt;h2 id=&#34;inserting-a-picture-based-on-cell-reference&#34;&gt;Inserting a Picture Based on Cell Reference&lt;/h2&gt;
&lt;p&gt;Aspose.Cells supports displaying the contents of a worksheet cell in an image shape. You can link the picture to the cell that contains the data you want to display. Since the cell or cell range is linked to the graphic object, changes that you make to the data in that cell or cell range automatically appear in the graphic object. Add a picture to the worksheet by calling the &lt;a href=&#34;https://reference.aspose.com/cells/go-cpp/shapecollection/addpicture_int_int_int_int_stream/&#34;&gt;&lt;strong&gt;AddPicture&lt;/strong&gt;&lt;/a&gt; method of the &lt;a href=&#34;https://reference.aspose.com/cells/cpp/aspose.cells.drawing/shapecollection/&#34;&gt;&lt;strong&gt;ShapeCollection&lt;/strong&gt;&lt;/a&gt; collection (encapsulated in the &lt;a href=&#34;https://reference.aspose.com/cells/go-cpp/worksheet/&#34;&gt;&lt;strong&gt;Worksheet&lt;/strong&gt;&lt;/a&gt; object). Specify the cell range by using the &lt;a href=&#34;https://reference.aspose.com/cells/cpp/aspose.cells.drawing/picture/getformula/&#34;&gt;&lt;strong&gt;Formula&lt;/strong&gt;&lt;/a&gt; attribute of the &lt;a href=&#34;https://reference.aspose.com/cells/cpp/aspose.cells.drawing/picture/&#34;&gt;&lt;strong&gt;Picture&lt;/strong&gt;&lt;/a&gt; object.&lt;/p&gt;
&lt;h3 id=&#34;code-example&#34;&gt;Code Example&lt;/h3&gt;
&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-cells-gists/b414abd53259bbc47d2c3c0fe985395b.js?file=Examples-Go-CPP-InsertAPictureBasedOnCellReference.go&#34;&gt;&lt;/script&gt;


      </description>
    </item>
    
    <item>
      <title>Gocpp: Add Conditional Icon Set with Cell Text using Golang via C&#43;&#43;</title>
      <link>https://docs.aspose.com/cells/go-cpp/add-conditional-icons-set-with-the-cell-text/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://docs.aspose.com/cells/go-cpp/add-conditional-icons-set-with-the-cell-text/</guid>
      <description>
        
        
        

&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;

Sometimes you want to add conditional icons next to the text in a cell to make data more meaningful to readers. You may want to use some of the conditional formatting icon types without applying conditional formatting to the cells. Aspose.Cells supports this feature.
&lt;/div&gt;

&lt;p&gt;The following code sample shows how to add a conditional icon set with the cell text.&lt;/p&gt;
&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-cells-gists/b414abd53259bbc47d2c3c0fe985395b.js?file=Examples-Go-CPP-AddConditionalIconsSetWithTheCellText.go&#34;&gt;&lt;/script&gt;


      </description>
    </item>
    
    <item>
      <title>Gocpp: Insert a Linked Picture from Web Address with Golang via C&#43;&#43;</title>
      <link>https://docs.aspose.com/cells/go-cpp/insert-a-linked-picture-from-web-address/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://docs.aspose.com/cells/go-cpp/insert-a-linked-picture-from-web-address/</guid>
      <description>
        
        
        

&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;

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 each time the spreadsheet is opened in Microsoft Excel. The image is not physically embedded in the Excel document, but points to a web resource.
&lt;/div&gt;

&lt;h2 id=&#34;using-microsoft-excel&#34;&gt;&lt;strong&gt;Using Microsoft Excel&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;In Microsoft Excel (for example, 2007):&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click the &lt;strong&gt;Insert&lt;/strong&gt; menu and select &lt;strong&gt;Picture&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Specify the web address for the picture in the Insert Picture dialog.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;using-asposecells-for-c&#34;&gt;&lt;strong&gt;Using Aspose.Cells for C++&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;Aspose.Cells for C++ supports adding a linked image using the &lt;a href=&#34;https://reference.aspose.com/cells/go-cpp/shapecollection/addlinkedpicture/&#34;&gt;&lt;strong&gt;ShapeCollection::AddLinkedPicture(int upperLeftRow, int upperLeftColumn, int heightPixels, int widthPixels, System::String sourceFullName)&lt;/strong&gt;&lt;/a&gt; method. The method returns a &lt;a href=&#34;https://reference.aspose.com/cells/cpp/aspose.cells.drawing/picture/&#34;&gt;&lt;strong&gt;Picture&lt;/strong&gt;&lt;/a&gt; object.&lt;/p&gt;
&lt;p&gt;The following example shows how to add a linked picture from a web address to a worksheet.&lt;/p&gt;
&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-cells-gists/b414abd53259bbc47d2c3c0fe985395b.js?file=Examples-Go-CPP-InsertALinkedPictureFromWebAddress.go&#34;&gt;&lt;/script&gt;


      </description>
    </item>
    
  </channel>
</rss>
