'reflecting' text

  • Thread starter Thread starter Peter Ignarson
  • Start date Start date
P

Peter Ignarson

Hi - does anyone know of a VB.Net example to reflect text in program I am
writing.

For example, I have some text 'dHp' on a form, and I want to "reflect it"
(so that the text is both reversed and reflected) in a mirror to display on
the form 'qHb'. There is no error in the example strings 'dHp' or 'qHb'
included this posting.

Thank you
Peter
 
* "Peter Ignarson said:
For example, I have some text 'dHp' on a form, and I want to "reflect it"
(so that the text is both reversed and reflected) in a mirror to display on
the form 'qHb'. There is no error in the example strings 'dHp' or 'qHb'
included this posting.

\\\
e.Graphics.DrawString("FGH", Me.Font, Brushes.Red, 100, 100)
e.Graphics.ScaleTransform(-1, 1)
e.Graphics.DrawString("FGH", Me.Font, Brushes.Red, -200, 200)
///
 
So simple - thank you Herfried.
Peter


Herfried K. Wagner said:
\\\
e.Graphics.DrawString("FGH", Me.Font, Brushes.Red, 100, 100)
e.Graphics.ScaleTransform(-1, 1)
e.Graphics.DrawString("FGH", Me.Font, Brushes.Red, -200, 200)
///
 
Back
Top