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

Lines and Rectangles not aligned on the left margin

edited October 2001 in General
Hello,

I am working on ReportBuilder 6.02 Standard, Windows 2000 and
Delphi 5.0.

When i use a left-line component and a rectangle-shape component
on 2 regions and the components left offset is 0, the 2 components's left
sides are not printed aligned and the line
component is printed a small space to the right.

Is there a reason for this ?

Thanks in advance.

Comments

  • edited October 2001

    You are encountering a limitation/quirk of the Windows API. RB uses API
    calls to draw to the printer canvas. RB is using a MoveTo, LineTo to
    render a line and it is uses PolyLine/Rectangle command to render a
    rectangle. These produce slightly different results for the same left
    dimension.

    Try using all rectangles or all lines.






    Best regards,

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