File Preview (OpenInsight 64-bit)
At 28 MAY 2023 11:40:20PM Gerry Van Niekerk wrote:
When I have say a Word Doc displayed in File Preview Control
Can I print/save that as a PDF
and same for say Excel files
Reason is I want to be able to take word and excel files and save them as a PDF without any user interaction.
OR Print it using OI and then I can print it as a PDF, I am combining different documents in one PDF file, to be emailed out.
TIF files I just print as a BMP and that works ok
Any other suggestions welcomed.
Thanks all
Gerry
At 29 MAY 2023 02:23AM Donald Bakke wrote:
When I have say a Word Doc displayed in File Preview Control
Can I print/save that as a PDF
and same for say Excel files
Reason is I want to be able to take word and excel files and save them as a PDF without any user interaction.
OR Print it using OI and then I can print it as a PDF, I am combining different documents in one PDF file, to be emailed out.
TIF files I just print as a BMP and that works ok
Any other suggestions welcomed.
Thanks all
Gerry
The File Preview control won't give you that level of functionality. It is, after all, for preview purposes only. You can use OLE Automation to interact with the document in code. There are a few examples of OLE Automation code on this forum that you can use to get you started.