Tag zusammen
Ich habe eine txt Datei die ich entsprechenden Drucken möchte.
Den Text zu Drucken geht soweit aber formatieren nach Tag-Liste bekomme ich noch nicht hin.
als Beispiel ein Text aber die Tags entsprechen nicht dem HTML code
Wie gehe ich am besten vor?
Zerlegen in Strings oder gibts andere Varianten?
Ich habe eine txt Datei die ich entsprechenden Drucken möchte.
Den Text zu Drucken geht soweit aber formatieren nach Tag-Liste bekomme ich noch nicht hin.
als Beispiel ein Text aber die Tags entsprechen nicht dem HTML code
VB.NET-Quellcode
- text="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, <b><u>sed diam nonumy eirmod tempor invidunt ut labore </u></b>et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et"
- text1="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, <rot>sed diam nonumy eirmod tempor invidunt ut labore </rot>et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et"
- e.Graphics.DrawString(text, New Font("Courier New", 12, FontStyle.Regular, GraphicsUnit.Pixel), Brushes.Black, New Point(50, 20))
- e.Graphics.DrawString(text, New Font("Courier New", 12, FontStyle.Regular, GraphicsUnit.Pixel), Brushes.red, New Point(50, 30))
- e.Graphics.DrawString(text, New Font("Courier New", 12, FontStyle.bold, GraphicsUnit.Pixel), Brushes.red, New Point(50, 30))
Wie gehe ich am besten vor?
Zerlegen in Strings oder gibts andere Varianten?