Page format of Dynamic report

RamyaRamya cbe
edited October 2009 in FastReport .NET
Hi,

I am generating the report dynamically. That is the report will be generated from the code.

In that am facing an issue in setting the text object's width.

empNameText.Bounds = new RectangleF(i, 0, Units.Centimeters * 2, Units.Centimeters * 0.5f);


The problem is I don't know how many columns will be used in the report. It will decided only dynamically.
Some times there will be only two columns, some times there will be 15 columns. So If i specify the width, height of the text object, the report displays only half of the column value if the column value is more than the columns width.

Also if i export to pdf, the text got printed on above another.

I don't know how to solve this.

I also want to display the report in the table format. How to do this

Please help me.

Thank you.

Regards,
Ramya

Comments

  • edited 2:02AM
    Hello,

    In order to create a well-formed report, you must know how many columns will be in a report. You also may fix the width of existing object when you know the exact number of columns.
    wrote:
    I also want to display the report in the table format. How to do this
    Use either dataheader/databand, or TableObject. There are many report examples in the Demo.exe.

Leave a Comment