Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Wed Sep 27, 2023 12:40 pm

Hi Team ,

I am facing two issue after inserting excel file in the document :

1.Inserted excel file name will not be visible in the document ,once I opened and closed excel sheet file name will be visible.

2.Excel icon size will not be constant before and after opening excel sheet

Please refer attached screenshot for your reference

pr20080798
 
Posts: 159
Joined: Wed Jan 20, 2021 1:15 pm

Thu Sep 28, 2023 7:23 am

Hi,

Thank you for your inquiry.
You can add the following code to maintain the size of the Excel icon before and after opening the Excel worksheet.
Code: Select all
 ole.setDisplayAsIcon(true);

At present, our product cannot display the file name after inserting Excel file into the word document. I have recorded this issue in our bug tracking system with the number "SPIREDOC-9926",Our development will investigate and achieve the function in the future. If this function is achieved, we will notify you promptly. We deeply apologize for the inconvenience caused.

Sincerely,
Ula
E-iceblue support team
User avatar

Ula.wang
 
Posts: 282
Joined: Mon Aug 07, 2023 1:38 am

Return to Spire.Doc