Main > Forum > 1C:Enterprise Platform > Studying 1C:Enterprise platform > How can we read PDF file content?
I tryed use DOM Document but not success. Can anyone help me?
I want to view it in 1C form
Is it very difficult? I do not want to use third-party API to read it, I want read it by 1C functions.
Hello Ninh Giang Thi!
You can try to link pdf files to view in html format. And open this files in HTML document in 1C.
I'm not sure this will work for 100% but it is worth to try.
Here if the line of code that will show pdf file in 1C HTML document
<emb ed src= "C:\MyPdfFile.pdf"" width= "100%" height= "100%">
Thanks for your help, but I want to read PDF structure by use DOMDocument code because I do not want to use 3rd party.