How can I retieve the current page number?

Please, can you help me? I use the following:

doc.MailMerge.ExecuteWithRegions(FilledDocTable);

with handler:

doc.MailMerge.MergeField += new MergeFieldEventHandler(HandleMergeField);

In this handler during merge

private void HandleMergeField(object sender, MergeFieldEventArgs e)
{

it is necessary for me to check up number of current page. Can I do it?

Hello

Thank you for your interest in Aspose.Words. MS Word document is flow document and does not contain any information about its layout into lines and pages. Our Rendering Engine layouts documents into lines and pages.
But unfortunately, there is no public API, which allows you to determine where page starts or ends. Also, there is no way to find the position of the particular node on page. Your request has been linked to the appropriate issue. You will be notified as soon as this feature is supported.
Best regards,

Oh… It’s very bad(

Hello

May I know why it is so important to know the page number of current page? Could you please provide me more information? Maybe there is other way to achieve what you need.
Best regards,

The issues you have found earlier (filed as WORDSNET-2978) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(89)