AfxSetPrinterOrientationfunction
Sets the printer orientation.
Syntax
FUNCTION AfxSetPrinterOrientation (BYREF wszPrinterName AS WSTRING, BYVAL nOrientation AS LONG) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
wszPrinterName | The printer name. | |
nOrientation | One of these values: DMORIENT_PORTRAIT = Portrait. DMORIENT_LANDSCAPE = Landscape. |
Return value
TRUE or FALSE.
Description
Sets the printer orientation.
Reference
- Include file
AfxPrinter.inc - Defined in AfxNova/AfxPrinter.inc:908
- Documented in Printing/Printer Functions.md
- Topic: Printer Functions