Is this possible to use IronPython .net with docx2pdf python package?

Ant6729

Well-known member
Joined
Jan 22, 2019
Messages
56
Programming Experience
Beginner
I need to convert docx files to pdf files.
Or bytes of docx file from a database to pdf file and download it.
There is no free nuget packages to resolve my issue.
But there is one package from python language I can use and it s name is docx2pdf.
Nuget space has IronPython . net package, but this is impossible or I think, this is impossible to add docx2pdf inside IronPython. Anyway, does anyone know, how to convert docx to pdf using visual studio and .net properly? I wo;uld like to run my code from inside, but not from outside interpreters.
 

Skydiver

Staff member
Joined
Apr 6, 2019
Messages
6,559
Location
Chesapeake, VA
Programming Experience
10+
If Docx2Pdf were also a .NET Framework package, then you could use it with IronPython. If it is a not, then you will very likely not have any success, since IronPython's execution is not like the typical Python engine releases which use a C interface to access native code.
 
Top Bottom