Autor Beitrag
Christoph1972
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 690
Erhaltene Danke: 16


VS2015 Pro / C# & VB.Net
BeitragVerfasst: Do 09.07.09 21:37 
Hallo Forum,

ich habe einer PictureBox ein UserControl als Control angefügt. Das UserControl ist innerhalb der PicBox verschiebbar und besitzt eine transparente PictureBox, mit einem transparentem Image. Das UserControl kann vom User transparent gemacht werden, somit sieht man nur noch das transparente Image über dem Image der Parent PicBox. Also eine Überlagerung von Bildern, um diese besser vergleichen zu können. Ich hoffe dass das jetzt einigermaßen verständlich erklärt habe!?

Nun zu meiner Problemstellung: Ich möchte die Überlagerung drucken. Nur wie, das ist die Frage.

Wenn man mit einem PrintDialog das Image der Parent PictureBox druckt, fehlt logischerweise die Überlagerung.

Mit CopyFromScreen geht es auch nicht, weil ein Teil der Grafik durch einen SplitContainer verdeckt ist.

Ich müsste also die gesamte Picbox drucken, nicht nur das Image. Das wäre die Lösung.

Hat hier jemand eine Idee wie ich das realisieren kann?


Gruß
Christoph
Christoph1972 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 690
Erhaltene Danke: 16


VS2015 Pro / C# & VB.Net
BeitragVerfasst: Do 09.07.09 23:00 
Ist schon fertig :lol:

Dieses Beispiel hat mich weitergebracht.

Gruß
Christoph