The reason for pdf not working was in fact in acrobat reader. When Ive installed older version (or did not have AR installed at all), it started to work.
Emending PDF files into OpenXML WordprocessingML
-
03-06-2022 - |
문제
I am strugling with Open XML SDK and embedding pdf files into a docx file.
- I do not want to use automation
- I am able to create *.bin files from everything except from *.pdf (see this question)
Anyone has experience with this? From what I've gathered you must create a *.bin file in order to embedd any file into Word *.docx document (except images). Is that correct?
해결책 2
다른 팁
If you can't find a pure C# solution, you could consider the commercial product docx4j OLE Helper IKVM'd.
Disclosure: I wrote it.
제휴하지 않습니다 StackOverflow