I need to convert a word document to PDF. That word document contains minimum 10 pages. I need to convert all the pages to PDF. After that i need to convert that PDF to Byte array (Byte ).
Hi @BNK
You can use Word Activities package,
Use Word Application Scope, give path of file,
and then use Save Document as PDF activity to save it as a PDF file…
Happy Automation!
After converting to PDF. I need to store this Pdf as Byte in sql database. how to do that?
After converting to PDF. I need to store this Pdf as Byte in sql database. how to do this conversion.
You would have to read the pdf file
byteData= File.ReadAllBytes(filepath)
Later if you need you can convert it into base64string using
Convert.ToBase64string(byteData)
Thanks
Well, there are many ways to do this. One way to do this is online converter such as Online2PDF and Smallpdf. You can also do this by using Microsoft word.
I hope it will help you to do this.
Thanks