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

Drawing in a Report

edited September 2002 in General
I need to create a seating chart for the legislature. So I need to be able
to add Arcs and Diagonal lines to the report. I see the ability to add
circles, squares and lines, but not the Arcs and diagonal lines. The report
needs to show them in a semi-circle type seating arrangement.

I there a way for Report Builder to draw a single diagonal line and an arc
line?

Comments

  • edited September 2002
    One solution is to use the Paintbox component available from our website so
    that you can draw in the report.
    http://www.digital-metaphors.com/rcl/twpaintbox.zip

    Otherwise, we do not support this natively. However, you can code this
    functionality and it will work. The line component and draw command need to
    be extended to do this. You can create your own custom descendents and
    register a new line component to replace the current line component. See
    the RBuilder\Demos\RCL directory for info on creating your own custom
    component. You'll also need to create a new line draw command whcih can
    support diagonal lines and arcs.

    Once you have a component which can create a diagonal line and draw command,
    you can move to the devices. The current devices cannot render a diagonal
    line. The devices need to be modified, you canYou can copy the screen device
    and printer device classes into new units and change the class names. You
    can then register these as new device replacements. Now you have your own
    devices that you can modify and use specifically for these reports so that
    they can preview/print diagonal lines. When these reports are loaded you
    can make the registration calls to swap out the devices from the default
    screen device and printer device.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.