When I tried to replace Excel image, math equation lost.
Before replace
1.png (110.3 KB)
After replace
2.png (129.6 KB)
I use this code
public static void ReplaceExcelImage(string excelPath, string imagePath)
{
…...table><annotation encoding="TeX"> \begin{aligned} V(R) &=... the format is “TeX” ,not MathML. So is “Tex” your expected format...