문제

I hope someone can help me how to open excel file in DocumentViewer component in wpf

도움이 되었습니까?

해결책

DocumentViewer does not support opening Excel documents directly. You will have to convert it to XPS first. You may take a look at the following article which illustrates how you could use Office Interop in order to convert the document to XPS.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top