DOUBLE r = WinXPrint_LogUnitsPerPoint (hPrinter, cyLog, cyPhys)
Calculates the number of logical units per point for a printer
Parameter | Description |
---|---|
hPrinter | The handle to the printer |
cyLog | The total number of logical units in the y direction |
cyPhys | The total number of physical units in the y direction |
The number of logical units per point for a printer
The cyLog and cyPhys parameters should be the same values as you use for a WinXPrint_Page call.
'Declare a LOGFONT ... 'Set the height of a font to be 12 points when printed |
WinXPrint_Start
WinXPrint_Page
WinXDraw_PixelsPerPoint
Printing
Text and Fonts