Automatically refresh OLE object via Microsoft Excel with Golang via C++
Contents
[
Hide
]
Aspose.Cells provides the OleObject.GetAutoLoad() property to refresh the OLE object when the Excel file is opened in Microsoft Excel. Because of this property, the OLE object will display the correct OLE image generated by Microsoft Excel.
The following sample code loads the sample Excel file which has a non-real OLE image. The OLE object is actually a Microsoft Word document, but the sample Excel file shows the animal image instead of the Microsoft Word image. However, if you open the output Excel file, you will see Microsoft Excel displays the correct OLE image.