Property PaperSize of interface IDevMode returns/sets Value of short ...
HRESULT get_PaperSize([out, retval] short* pVal); HRESULT put_PaperSize([in] short pVal);
See also IDevMode.