Click here to Skip to main content
15,912,400 members

Comments by Beerbeen (Top 4 by date)

Beerbeen 13-Jun-17 6:16am View    
Note that it's not recommended to use Office Interop in ASP.NET application (see here, also technically that is also a 3th party). There is no native way to read presentation files, you'll need to use System.IO.Packaging to read PPTX files and you'll need to use System.Drawing to create/render whatever representation you want of that file (for instance convert it to an image). This is quite a large time investment so instead I would personally just convert powerpoints to pdf files in c# and send those pdf files to clients.
Beerbeen 13-Jun-17 6:07am View    
Here is another c# library for pdf format and also here is how to convert html to pdf in c#.
Beerbeen 13-Jun-17 5:59am View    
Here is a different way (alternative to excel automation) how you can define excel range in C#:

excelWorksheet.NamedRanges.Add("A1", excelWorksheet.Cells.GetSubrange("R1C1:R1C5"));
Beerbeen 5-Jun-17 6:13am View