Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
C#
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.
Posted
Updated 29-Jun-13 1:22am
v2
Comments
OriginalGriff 28-Jun-13 10:55am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.

1 solution

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!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900