Autor Beitrag
ani
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 77

Windows Vista Home Premium
C#(VS 2008)
BeitragVerfasst: Mi 23.11.05 12:17 
Huhu,

ich schreibe text in eine Word-Datei und will bei verschiedenen Zeilen die Wörter fett schreiben oder unterstrichen.

ausblenden C#-Quelltext
1:
Font fon = new Font("Arial",12,FontStyle.Bold);					


muss man das mit Hilfe von
ausblenden C#-Quelltext
1:
g.DrawString(text,Font,brush) machen?					

und muss ich dann für jede Zeile ein Font-Objekt anlegen?