|
Počet barev podporovaných tiskárnou |
|
|
|
Postup: V modulu deklarujte: Private Declare Function GetDeviceCaps Lib "gdi32" _ (ByVal hdc As Long, ByVal nIndex As Long) As Long
Const DEV_BITSPERPIXEL =
12 Public Function NumberOfPrinterColours()
NumberOfPrinterColours
= GetDeviceCaps(Printer.hdc, DEV_PLANES) _ End Function Volání: |
|
|
| Autor: The Bozena |