I found that it is not the difference between the ruler and the RTB.
Rather, the RTB is not consistent. If I use tabs to position characters and
right below use spaces to position characters, and then scale, the
characters do not remain lined up.
The tabbed characters remain aligned with the ruler but the spaced ones do
not.
Seem the space (and maybe other characters) gets scaled wrong.
Can anyone add or confirm or enlighten?
" Just Me" <gr****@a-znet.com> wrote in message
news:uZ**************@TK2MSFTNGP09.phx.gbl...
Using a Richtextbox I use EM_SETZOOM to set a zoom factor.
If I set it to 2 the image on the screen increase but not exactly by 2.
I've coded a ruler above the Richtextbox which does scale by the correct
amount.
Could it be that the Richtextbox uses GDI while Dotnet uses GDI+ ?
Can anyone shed any light at all on this?
I'd really appreciate any info at all.
THANKS IN ADVANCE