| Top Previous Next |
|
The PagePaperSize property specifies the size for the page.
Syntax
Remarks
The page size can be set to one of the 40 different pre-defined sizes defined in TxgtPaperSize, or it can be a custom value. To set a custom paper size, you have to set PagePaperSize property to "Custom" and specify the width and height of the paper through PageWidth and PageHeight properties respectively. Following are the possible values of TxgtPaperSize:
Note
This PagePaperSize should be set before calling NewPage or BeginDoc to come into effect.
Example Code
For an example code, see Page Formatting.
See Also
|