Creating sketches of office documents

How to create thumbnails (image of the first page of a document) of office documents in C #?

+3
source share
3 answers

Not sure if this helps, but there may be a stream of information that you can find here.

See c # get thumbnail from file via windows api

Hope this helps!

+2
source

I rate 2JPEG and it seems to support 275 formats , including Word, Excel, Publisher and Powerpoint files. fCoder recommends running 2JPEG as a scheduled background task. command line syntax is pretty detailed.

:

2jpeg.exe -src "c:\files\myfile.docx" -dst "c:\files" -oper Resize size:"100 200" fmode:fit_width -options pages:"1" scansf:no overwrite:yes template:"{Title}_thumb.jpg" silent:yes
0

2JPEG is a great thumbnail solution. However, this only works in Microsoft Office files if Office is installed on your computer. This will not work on the server.

0
source

Source: https://habr.com/ru/post/1765154/


All Articles