Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preview Container in a Form
Message
De
23/09/2005 14:01:33
 
 
À
23/09/2005 07:31:06
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01052325
Message ID:
01052497
Vues:
7
Aaron -

Preview Container included in Solution.pjx is a good one, however, the Output is scretched to fix the PreviewContainer, in this example, the shape... in help, it is mentioned it can be a container.

I don't like it is being resize to fit the size of container... any way to stop it?!


Basically, no. The rendered report page will always be displayed using the dimensions of the target shape. It is up to you (or your FoxPro code) to ensure that the Shape (or Container) is of the appropriate dimensions. You need to use the aspect ratio given by Listener.GetPageHeight() and GetPageWidth(). If you want accurate scaling, you also need to interrogate your screen's DPI.

Hope that helps,
- Colin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform