Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Centering Image in Report Picture Control
Message
De
04/08/2020 10:24:03
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01675528
Message ID:
01675535
Vues:
84
This message has been marked as a message which has helped to the initial question of the thread.
>Your mention of screen image location got me thinking. Since the image is correctly centered when shown in a form image control, I can use the GDIPlusX class drawing object's .Bitmap.FromScreen and .Save methods to save that displayed image to a .jpg file. I should then be able to specify that named file as the source for the report's Picture control. I'll post how that goes, but I think you've got me headed in the right direction. Thanks!

Jonathan,
I dont think that is the correct way to do it. GDIPlus will not resize your picture in a size you require. To do that you should use an utility like IrfanView. That app has the possibility to resize your picture to the by you desired format, mind you reduce not enlarge.
Also have you applied any of the options the Reportwriter offers you? See screenprint attached.
Stay healthy,
Koen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform