CPrint.GetMarginsUnitsmethod
Retrieves the margins (the non-printable area) of the printer page, in world units.
Syntax
SUB GetMarginsUnits (BYREF nLeft AS LONG, BYREF nTop AS LONG, BYREF nRight AS LONG, BYREF nBottom AS LONG)
FUNCTION GetMarginsUnits () AS RECT
Parameters
| Name | Description | |
|---|---|---|
nLeft | Left margin. | |
nTop | Top margin. | |
nRight | Right margin. | |
nBottom | Bottom margin. |
Description
Retrieves the margins (the non-printable area) of the printer page, in world units.
The overloaded function returns a RECT structure.
Reference
- Include file
CPrint.inc - Defined in AfxNova/CPrint.inc:876
- Documented in Printing/CPrint Class.md
- Topic: CPrint Class