CPrintDialog::GetPaperSize

This method retrieves the size of the paper selected for printing.

At a Glance

Header file: Afxdlgs.h
Platforms: H/PC 2.0, H/PC Pro
Windows CE versions: 2.10 and later

Syntax

CSize GetPaperSize() const;

Return Values

A CSize object that contains the size of the paper (in 1/1000 inches or 1/100 mm) selected for printing.

Remarks

GetPaperSize serves the same role as the CPageSetupDialog::GetPaperSize function does in Windows-based desktop platforms.