You are reading help file online using chmlib.com
|
Rave Reports Developer Reference TBaseReport. SetPaperSize method |
Top Previous Next |
Declaration procedure SetPaperSize(Size: integer; Width: double; Height: double);
Category
Description This method will set the current paper size for the selected printer to the settings of either the Windows API constant, Size (see TDevMode.dmPaperSize) or if Width and Height are non-zero then it will attempt to set a custom paper size.
NOTE: Not all printer drivers support custom page sizes and most have minimum and maximum acceptable values.
See also
Example (Delphi) // Set papersize to 10" wide by 12" high then set papersize to 8.5 wide by 14" high RvNDRWriter1.SetPaperSize(0,10,12); RvNDRWriter1.SetPaperSize(DMPAPER_LEGAL,0,0);
Example (C++Builder) RvNDRWriter1->SetPaperSize(0,10,12); RvNDRWriter1->SetPaperSize(DMPAPER_LEGAL,0,0); |
You are reading help file online using chmlib.com
|