Hi
I have set the size of the page as:
WPPDFPrinter1.StartPage(Round(8.27 * Resolution), Round(11.69 * Resolution), Resolution, Resolution, 0);
But later when I want to find out pageheight and width using the following they both return 0
and so I am forced to recalculate as per the comments
pageheight := WPPDFPrinter1.readpageheight; //round(11.69 * screen.PixelsPerInch);
pagewidth := WPPDFPrinter1.readpagewidth; //round(8.27 * screen.PixelsPerInch);
Please can you advise how to get these values
Regards
Jenny