0

I want to generate thumbnail from the excel, pdf, doc, txt, etc. in asp.net mvc 4 application.

Is there any way to do it.

(Any samples)

sathishkumar
  • 1,780
  • 4
  • 20
  • 31

1 Answers1

1

see this SO question answer. might help for your requirement

ShellFile shellFile = ShellFile.FromFilePath(pathToYourFile);
Bitmap shellThumb = shellFile.Thumbnail.ExtraLargeBitmap;
Community
  • 1
  • 1
swapneel
  • 3,061
  • 1
  • 25
  • 32
  • I saw this post, But i dont know how to proceed.Because that post about the windows-shell.I dont have any knowledge about that. Could you please help further! – sathishkumar Oct 15 '13 at 12:23