jcmag22 - 2007-10-23

I iterate over pages to concatenate some PFD documents:
                int count = inputDocument.PageCount;
                for (int idx = 0; idx < count; idx++)
                {
                    // Get the page from the external document...
                    PdfPage page = inputDocument.Pages[idx];
                    // ...and add it to the output document.
                    outputDocument.AddPage(page);
                }

But I would like to call AddPage only if the page is not empty, is there way to do that?