CPrint.SetPaperSizemethod
Sets the paper length and width in units of 1/10 of a millimeter.
Syntax
FUNCTION SetPaperSize (BYVAL nLength AS LONG, BYVAL nWidth AS LONG) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
nLength | LONG. The length of the printer paper size. | |
nWidth | LONG. The width of the printer paper size. |
Return value
BOOLEAN. Returns True on success or False on failure.
Description
Sets the printer paper length and width.
Reference
- Include file
CPrint.inc - Defined in AfxNova/CPrint.inc:700
- Documented in Printing/CPrint Class.md
- Topic: CPrint Class