CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
CrisisHelper - First Aid in Tough Times of World Economic Crisis


_bm0 Rave Reports Developer Reference

TBaseReport. SetPaperSize method

Top  Previous  Next

Declaration

procedure SetPaperSize(Size: integer; Width: double; Height: double);

 

Category

Printer

 

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

TBaseReport Class

 

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

If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com