Free Support Forum - aspose.com

PageCount is not getting properly in Word

Hi,
Hi Team,

PageCount is not coming properly. Maximum its taking only 8 pages.

Here i have atached the sample file. Please check and Clarify ASAP.

public static void Testing(string fileN)
{
var fileName =fileN;
var doc = new Document(fileName);
var pageCount = doc.PageCount;
var shapeCount = doc.GetChildNodes(NodeType.Shape, true);
}

Thanks and Regards,
ManimaranSample.zip (25.1 KB)

@kasima1

Thanks for your inquiry. Please use the latest version of Aspose.Words for .NET 18.10 and apply the license before importing the document into Aspose.Words’ DOM.