C# Break Link To Image Files For HttpContext? RRS feed

  • Question

  • I have done a ton of research and the only method i have seen people used to break a link to a file in word document is using the LinkFormat.BreakLink method however this method is compatible only with MicrosoftInterOp.Word, in my project i used HttpContext to create the word doc, everything in the word doc appears as accordingly in the web form. However, when i try to download the word doc as an external user, since word opens the document in protected view, the image cannot appear, and i know that breaking links to file and saving the image in the document solves the problem. However, i do not wish to do that everytime and wish to do it programatically (C# ASP.NET)
    • Edited by Ben2102 Tuesday, September 10, 2019 3:58 AM
    Monday, September 9, 2019 1:41 PM

All replies