Hello,
We are using Aspose to mailmerge our document, but what did we notice is, if the merging data comes in long enough such that text of 1st page spreads out to 2nd page, the aspose doc.pagecount property keeps showing page count as 1 only.
Refer the attached document as proof where the page has actually 2 pages but when loaded with aspose, it gives pagecount as 1 only.
However, if we open the document in Ms Word and then run same code to findout page count using aspose, then it gives correct page count.
Does this means, the Aspose page count is dependent on Client programme i.e. Ms Word to update page count property?
code I am using is-
Dim objTest As New Aspose.Words.Document(“C:\Nexum\H_Test_MergeDoc.docx”)
If objTest.PageCount > 0 Then
’ our code
End If
Regards,
Nirav
Nexum software