Autor Beitrag
tomycat
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 265
Erhaltene Danke: 1



BeitragVerfasst: Sa 07.01.17 15:10 
hallo,
ausblenden C#-Quelltext
1:
2:
3:
       Bitmap imageb = new Bitmap("C:\\test\\meinbild.jpg");
          
                e.Graphics.DrawImage(imageb,  250500600600);


Das Bild wird herausgedruckt, aber es ist leicht unscharf, wie kann das ich ändern.

Moderiert von user profile iconChristian S.: Titel geändert. Bisheriger Titel "Dokument drucken..." hatte nix mit dem Thema zu tun.
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Sa 07.01.17 15:17 
Ich vermute, dass das Bild nicht so groß ist, wie Du es ausgibst. Wenn Du bei DrawImage statt fixer Höhe und Breite die Werte aus dem Bitmap nimmst, sollte es gehen.

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".