Can I create thumbnails of MS Office files?

Has anyone ever tried to create thumbnails / previews of MS Office files? I do not mean retrieving saved preview images inside the file, but actually creating them. Will it be doable?

Is it possible to print the image / pdf directly in the code?

+3
source share
1 answer

In a general VB / C # application, add the MSword / MSexcel component and call the component to open the desired file. Then call one of the print functions with parameters corresponding to the first page, etc.

This link shows how to open .xls from C #

+2
source

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


All Articles