rReport  >

Tutorial Download License / Order Report Designer  

Examples: Dynamic Report Live Try


rReport Setup 

The setup is straight forward: you download the package, put it on your web development machine, and follow the step-by-step guide in the documentation. There is no need to repeat here.

Programming Introduction 

After the rReport setup, you are ready to program it. Since the setup is already done on this server, we can program it right here. Before we do that, please know that
  1. You can program directly using physical lengths such as inch or mm.
  2.  You can calculate the sizes of rReport objects (such as String, Text, Table etc) before drawing them. This allows you to draw objects at precise locations with accurate sizes.

Hello World Program

The following Hello World program is self explaining.

        var INCH = doc.getUnit();  
        var MM = INCH/25.4;
        //draw in inch
        doc.drawString(INCH, 0.5*INCH, "Hello World");
        //draw in mm
        doc.drawString(MM, 3.0*MM, "Hello World");