HI I am using this code,
Its reading images from word but not Formula i.e equation in word document.
Document doc = new Document(@“D:\Word Reading Sample Proj\pract\pract\WordDoc\EquationDoc.docx”);
NodeCollection shapes = doc.GetChildNodes(NodeType.Shape, true);
int imageIndex = 0;
foreach (Shape shape in shapes)
{
if (shape.HasImage)
{
string imageFileName = string.Format(
“Image.ExportImages.{0} Out{1}”, imageIndex, FileFormatUtil.ImageTypeToExtension(shape.ImageData.ImageType));
shape.ImageData.Save(Server.MapPath(@"~\Images"+ imageFileName));
imageIndex++;
}
}