L
Luke Bellamy
Hi - I am using Access 2002 and am using the Report.Line method
to produce some veritcal lines on my report. This all works fine but
but default (and I force it) the unit of measure is twips. As for alot
of the Access measurements.
BUT the Line.DrawWidth property asks for the width in pixels (as per
the VBA help files). This would be OK but of course not all pixels (pixels
per inch)
are the same, so on one computer my vertical lines are as expected
while other monitors show the lines a little differently (and not as neat).
So does anyone know of a better way to handle this?
I have been looking through K. Getz screen resize code and at the moment
my solution is to get the DPI and calculate the pixels as a ratio of the
screen I developed it on. So if the dpi is higher on a client machine than
my dev machine I will have to increase the pixels by the increase in dpi
accordingly.
Any suggestions appreciated?
Thanks,
Luke
to produce some veritcal lines on my report. This all works fine but
but default (and I force it) the unit of measure is twips. As for alot
of the Access measurements.
BUT the Line.DrawWidth property asks for the width in pixels (as per
the VBA help files). This would be OK but of course not all pixels (pixels
per inch)
are the same, so on one computer my vertical lines are as expected
while other monitors show the lines a little differently (and not as neat).
So does anyone know of a better way to handle this?
I have been looking through K. Getz screen resize code and at the moment
my solution is to get the DPI and calculate the pixels as a ratio of the
screen I developed it on. So if the dpi is higher on a client machine than
my dev machine I will have to increase the pixels by the increase in dpi
accordingly.
Any suggestions appreciated?
Thanks,
Luke