开发者

Problem in show doc file

开发者 https://www.devze.com 2023-03-27 17:40 出处:网络
I have a doc file with picture and table and want to show it in C# form.开发者_开发知识库 when i load it in richtextbox the table is not showing correctly

I have a doc file with picture and table and want to show it in C# form.开发者_开发知识库 when i load it in richtextbox the table is not showing correctly

how can i solve this problem ?


A real doc file much more than rtf which is the format the richtextbox understands.

IF you really need to display (perhaps edit or convert to PDF...) a doc file then you will need to use some 3rd-party component like Aspose.Words...

Another option - although only for desktop applications and requiring Word to be installed would be to use Office Automation - see

http://msdn.microsoft.com/en-us/library/dd264733.aspx
C# office 2010 automation
http://www.codeproject.com/KB/office/ms_office_automation.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号