Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.
Fri Oct 21, 2016 4:28 am
Hi.
I extract file attach in word document but I don't know how to check ole object is audio or video file? I tried to use Ole.NativeData's header to detect file type but it didn't work Could you help me?
Thanks for your inquiry. The way you used(Ole.NativeData's header) is the only way can check that type at present. But we find the file header byte data( I checked WAV file) is incorrect, I have posted it to our Dev team. We will inform you when it is fixed. Sorry for inconvenience caused.
Thanks for your waiting. Now the issue has been resolved, welcome to test Spire.Doc Pack(hot fix) Version:5.8.13. If there is any question, welcome to get it back to us.