Fonts/Colors supported by Reporting System

Reporting System supports following standard PDF Fonts.

  • Courier
  • Helvetica
  • Times-Roman
  • Symbol
  • ZapfDingbats

Above fonts along with their variation (Bold and/or Italic) are automatically available for use.

In addition, TrueType font can also be used but these must be loaded first. For example, if you want to use Arial.ttf font, following PeopleCode will be required immediately after InitReport() method. The font is also embedded in the pdf document.

 
   If &my_report.InitReport(&InitArgs) = true then
      &Status = &my_report.LoadCustFont("C:\Windows\Fonts\Arial.ttf");
      ...
      ...
      While &SQL.Fetch(&Rec)
         &my_report.SubmitData(&Rec,...) 
         ...
         ...
      End-while
      &my_report.FinalizeReport(&Rec,...)
   End-if;
 

AePlus Reporting System supports virtually every colour. Following is the list Standard Colours that can be specified by name:

  • Black
  • Blue
  • Cyan
  • DarkGrey
  • Grey
  • Green
  • LightGray
  • Magenta
  • Orange
  • Pink
  • Red
  • White
  • Yellow

In addition, colours can be specified by their integer value or by their rgb value. Following three lines of peoplecode would produce identical results.


   &AEP_RPT.PrintStr(1, "*** End of Report ***", "color=red");
   &AEP_RPT.PrintStr(1, "*** End of Report ***", "color=16711680");
   &AEP_RPT.PrintStr(1, "*** End of Report ***", "color=rgb(255,0,0)");

Boost Developer's Productivity...