You are reading help file online using chmlib.com
|
Rave Reports Developer Reference TBaseReport. Macro method |
Top Previous Next |
Declaration function Macro(MacroID: TMacroID): string;
Default 6
Category
Description This function inserts a macro into your report. The macro will be inserted at the time of report output (to preview or printer) and not at report generation time. Use this method with all printing methods. For a list of MacroID see the type definition of TMacroID.
See also TBaseReport Class, MacroData, TMacroID
Example (Delphi) // Print the current page and total pages PrintRight(Macro(midCurrentPage) + ' of ' + Macro(midTotalPages), 8.0);
Example (C++Builder) rp1->PrintRight(rp1->Macro(midCurrentPage) + " of " + rp1->Macro(midTotalPages), 8.0); |
You are reading help file online using chmlib.com
|