This document is archived and information here might be outdated. Recommended version. |
The current paper settings.
[Visual Basic .NET] Public ReadOnly Property Paper As IPaper
[C#] public IPaper Paper {get;}
The IPaper interface and the IPrint interface are the main components for printing. The IPaper interface controls the current paper settings. The IPrint interface has a Paper member which must be set for the print output to be correct.
The IPaper interface is persisted in the document when 'Same As Printer' is checked on in the Page Setup dialog.
In Microsoft Windows terms, the IPaper interface is a wrapper around the GDI DEVMODE and DEVNAME structures.