Thanks for the reply.
Please find below the source code snipet and attachment the file. Please process with this file and see the Doc.Count.
Plesae check with Original Doc file page count with source code Doc.Count.
Kindly give me the soulution as soon.
Source code snipet kindly use ver 11.6.0.0 and i tried latest 13.4 demo ver also it is giving same mis match count error.
private void button1_Click(object sender, EventArgs e)
{
string FilePath = @"C:\Email\Test2\TEST_48497_UMBI_Demand Package3.doc";
byte[] bFile = File.ReadAllBytes(FilePath);
MemoryStream ms = new MemoryStream(bFile);
ms.Position = 0;
MemoryStream BitmapData = new MemoryStream();
Aspose.Words.Document doc = new Aspose.Words.Document(ms);
Aspose.Words.Saving.SaveOptions options = Aspose.Words.Saving.SaveOptions.CreateSaveOptions(Aspose.Words.SaveFormat.Tiff);
int b = doc.PageCount;
doc.Save(BitmapData, options);
}
Thanks & Regards,
P. Saravanan.