AfxGetPrinterOrientationfunction
Returns the printer orientation.
Syntax
FUNCTION AfxGetPrinterOrientation (BYREF wszPrinterName AS WSTRING) AS LONG
Parameters
| Name | Description | |
|---|---|---|
wszPrinterName | The printer name. |
Return value
The printer orientation:
- DMORIENT_PORTRAIT = Portrait
- DMORIENT_LANDSCAPE = Landscape
Description
Returns the printer orientation.
Reference
- Include file
AfxPrinter.inc - Defined in AfxNova/AfxPrinter.inc:564
- Documented in Printing/Printer Functions.md
- Topic: Printer Functions