You are reading help file online using chmlib.com
|
Rave Reports Developer Reference TBaseReport. NoPrinters method |
Top Previous Next |
Declaration function NoPrinters: Boolean;
Category
Description This function will return true if there are no printers defined in the current Windows system and false if there are. TRvRenderPrinter will not function without an installed printer driver; however, TRvNDRWriter and TRvRenderPreview will still work.
See also TBaseReport Class, NoPrinterPageHeight, NoPrinterPageWidth
Example (Delphi) // Set up for landscape paper if NoPrinters then begin NoPrinterPageHeight := 8.5; NoPrinterPageWidth := 11.0; end; { if }
Example (C++Builder) if (rp1->NoPrinters()) { rp1->NoPrinterPageHeight = 8.5; rp1->NoPrinterPageWidth = 11.0; }/ if |
You are reading help file online using chmlib.com
|