Thickness of lines using DrawWidth in reports
Posted on 2006-11-06
I'm using the Line Function to draw some thicklines in my report
I've got lot's of code similar to this scattered around different reports.
Private Sub GroupHeader0_Print(Cancel As Integer, PrintCount As Integer)
Me.DrawWidth = gBorderWidth
Me.Line (0, 0)-(0, 1000)
Me.Line (ScaleWidth, 0)-(ScaleWidth, 1000)
The code works ..however in one report I set gBorderWidth=7 & in another I have to set it to 13 to get the same line thickness.
I've now changed both reports so that they have the same width, same margins etc etc.
I don't use Scalemode
The only difference in the reports is the length.
Why don't the thickness of the lines come out the same?