Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preview Container in a Form
Message
From
23/09/2005 14:01:33
 
 
To
23/09/2005 07:31:06
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01052325
Message ID:
01052497
Views:
6
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
Previous
Reply
Map
View

Click here to load this message in the networking platform