Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

Wed Mar 04, 2020 3:29 pm

Our client use the attached template and after SaveToFile the link from the image is lost.

Code: Select all
using (var document = new Spire.Doc.Document())
{
    document.LoadFromFile(file);

    using (var d = document.Clone())
    {
        d.SaveToFile(resultFile);
    }
}
You do not have the required permissions to view the files attached to this post.

profiler007
 
Posts: 17
Joined: Wed Nov 13, 2019 11:32 am

Thu Mar 05, 2020 4:23 am

Hello,

Thanks for your inquiry.
I tested your case and found the hyperlink of the image was changed to a new hyperlink like "file:///E:\result.docx". This issue has been logged in our bug tracking system with the ticket SPIREDOC-4015. If there is any update, we will let you know.
Apologize for the inconvenience caused.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 654
Joined: Tue Jul 09, 2019 2:22 am

Thu Mar 26, 2020 8:08 am

Hello,

Thanks for your patient waiting.
Glad to tell that the bug SPIREDOC-4015 has been fixed now. Welcome to download the newly released Spire.Office Platinum Version:5.3.7 from the following link.
Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.Office/5.3.7

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 654
Joined: Tue Jul 09, 2019 2:22 am

Wed Apr 01, 2020 7:57 am

Hello,

Hope you are doing well.
Did the hotfix resolve your issue? Thanks in advance for your feedback.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 654
Joined: Tue Jul 09, 2019 2:22 am

Wed Apr 01, 2020 1:35 pm

Yes, it looks fine, thanks!

profiler007
 
Posts: 17
Joined: Wed Nov 13, 2019 11:32 am

Thu Apr 02, 2020 1:04 am

Hello,

Glad to hear that!
If you need further assistance, please feel free to contact us.
Wish you all the best!

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 654
Joined: Tue Jul 09, 2019 2:22 am

Return to Spire.Doc