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

Thinner shape lines

edited July 2002 in General
I would like to draw shapes with lines as thin as ReportBuilder uses in its
Cross Tab component so that I can make non-cross tab reports and cross tab
reports with the same look and feel. However, the minimum thickness of a
shape is 1, and that value results in a thicker line than the cross tab
reports have.

Thanks,

kevin

Comments

  • edited July 2002
    You can create a custom component the either descends from TppLine or
    TppCustomGraphic. Lines are rendered as this rectangles. If you descend from
    TppLine then you should only have to override the PaintDesignControl and
    PropertiesToDrawCommand methods to render the thinner line. You also have a
    few options for selecting the thickness. You can still select the thickness
    as usual but implement the rendering to render only have the specified
    height. You can also override CreatePopupMenu and add your own selections
    for choosing line thickness.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

This discussion has been closed.