Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Crosstab row height

edited June 2005 in General
Hello,

I am evaluating the tppCrossTab component, but I can't find any way of
setting the individual row height. I have decreased every font size I could
find, but nothing happens. At this moment I can only get 15 records per page
and that is generating more than 100 pages. With proper scaling I am sure I
can get it down to less than 20 pages.

How can I do that?

Thank you!

Dimitar Selenski

Comments

  • edited June 2005

    I researched this and performed some simple tests.

    1. Modifying the Font size does work, but you have to use the crosstab
    designer to select each of the pieces of text that are displayed (caption,
    value, calcs, etc) and set the font size for each to a small size.

    2. The size of a cell is calculated as the text height and width required to
    render the value plus a constant cell margin value. The cell margin is
    defined in ppCTMain.pas at the top (ciTextMargin = 1588). The units are
    thousandths of a mm.





    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.