4 ms·
wordInstance.ActiveDocument.SaveAs(filename + ".pdf", 17) 17 is the magic number for PDF output. There is a constant in VSTO and COM for it but I can't remembe
by harrytuttle 13y ago
wordInstance.ActiveDocument.SaveAs(filename + ".pdf", 17)
17 is the magic number for PDF output. There is a constant in VSTO and COM for it but I can't remember what it is. Need Office 2007 with save as pdf addon installed or vanilla 2010/2013.
People always say that APIs are the future and Microsoft are dead etc but Microsoft stuff is usually chock full of extensibility and knee deep in documentation. To give you an idea, it took me merely two days to extend word 2010 via VSTO with a fully GUI and ribbon integrated semantic template engine that allows documents to be bound to our public API and rendered server side or client side online and offline.
Do that in Google Apps? Yeah right...
also my solution will still be supported until 2023!
- bliti 13y agoI did a simple application for a client that was a simple JSON-to-Excel dump. It was a breeze. Took me about a day to do it. From zero to finished.