Hallo ich habe eine PictureBox Name DDImg
nun lade ich per Timer aller 10 sek. mit
DDImg.LoadAsync("pafd");
das Bild neu.
doch das Bild hat eine höhrere auflösung als die PicBox
wie kann ich das machen das meine PicBox normal bleibt und C# mir das Bild dazu anpasst auch wenn das Bild eventuell verzert wird?
Hallo DJ-Mirscho,
PictureBox bietet hierzu eine Property SizeMode (oder so ähnlich), mithilfe derer du das steuern kannst.
kannst du oder jemand anderes mir mal ein Bsp geben???
also mein bild ist 1024x768 und ich will es ca 200x200 darstellen
Hallo DJ-Mirscho,
myPictureBox.SizeMode = PictureBoxSizeMode.Stretch
Siehe hierzu die :rtfm: ...
Gruß Michbeck1983
Neulich im Computerkurs:
Mein Computer kennt Else nicht! 😁
[URL]XING-Profil[/URL]