如何在C#.net中将嵌入式公式转换为图像 [英] how to convert embedded formula to image in C#.net

查看:81
本文介绍了如何在C#.net中将嵌入式公式转换为图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何转换任何类型的方程式格式

并将其保存为计算机中的图像。任何人都可以帮助我。



im使用尖顶办公软件应用程序将单词doc中找到的设备转换为图像...结果我得到的是整个单词文档转换为图像。



结果我想要的是方程式sholud只能转换成单个图像。



C#编码使用的是

how to convert any type of equations format
and save it as image in computer.can any one help me.

im using spire office software application for converting the equtions found in the word doc to image..the result im getting is whole word document is converted to image.

The result i want is the equations sholud be only converted to individual images.

The C# coding im using is

private void button1_Click(object sender, EventArgs e)
       {
           //Create word document
           Document document = new Document();
           document.LoadFromFile(@"..\..\..\..\..\..\Data\Word.doc");

           //Save doc file.
           Image img = document.SaveToImages(0, ImageType.Metafile);
           img.Save("sample.bmp", System.Drawing.Imaging.ImageFormat.Bmp);

           //Launching the image file.
           WordDocViewer("sample.bmp");
       }

       private void WordDocViewer(string fileName)
       {
           try
           {
               System.Diagnostics.Process.Start(fileName);
           }
           catch { }
       }







我用过很多方法但还没有得到答案。请帮助我,我希望将任何类型的方程式转换为图像。




I have used many ways but not yet got the answer.pls help me and i want any type of equations to be converted to image.

推荐答案

您需要与创建它的人交谈 - 他们应该提供技术支持,并且会比我们更了解他们的产品。如果他们不这样做,那就找另一个供应商并要求退款!
You need to talk to the people who created it - they should provide technical support and will know more about their product than we will. If they don't, then find another supplier and demand your money back!


这篇关于如何在C#.net中将嵌入式公式转换为图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆