This method retrieves the size of the paper selected for printing.
Header file: | Afxdlgs.h |
Platforms: | H/PC 2.0, H/PC Pro |
Windows CE versions: | 2.10 and later |
CSize GetPaperSize() const;
A CSize object that contains the size of the paper (in 1/1000 inches or 1/100 mm) selected for printing.
GetPaperSize serves the same role as the CPageSetupDialog::GetPaperSize function does in Windows-based desktop platforms.