Hi
Thanks for your inquiry. I think that you can try using the following code:
double w = ConvertUtil.PointToPixel(doc.FirstSection.PageSetup.PageWidth);
double h = ConvertUtil.PointToPixel(doc.FirstSection.PageSetup.PageHeight);
But note that document could contain several sections and each section could have different paper size.
Best regards.