| |
Data Dynamics Reports Support
Started by DijonSmit at 08-10-2009 4:06 AM. Topic has 6 replies.
 
 
 
|
|
Sort Posts:
|
|
|
|
08-10-2009, 4:06 AM
|
DijonSmit
Joined on 08-10-2009
Posts 1
|
Shrink sub report to fit on page.
|
|
|
|
|
Hi,
I need some help, with shrinking a sub report to fit in master report. The problem is the sub report contains a spreadsheet which is a bit larger than the page, when I set the "Shrink Image" flag, the sub report gets shrunk but you can hardly read the sub report and the report get shrunk to a size of half the page instead of just shrinking to fit the page.
I there any thing I can do to configure this?
Any help will be appreciated.
Dijon
|
|
|
|
|
Report
|
|
|
|
08-12-2009, 3:51 AM
|
Amit Pal
Joined on 12-11-2008
Posts 517

|
Re: Shrink sub report to fit on page.
|
|
|
|
|
Dijon,
Can you please provide us the Sub-report as well as the Master Report.
If possible, a copy of Spreadsheet which you are using would be really helpful in checking in this issue.
Regards,
Amit
Amit Pal GrapeCity- DataDynamics
|
|
|
|
|
Report
|
|
|
|
01-08-2010, 9:06 AM
|
tomperren
Joined on 01-08-2010
Posts 8
|
Re: Shrink sub report to fit on page.
|
|
|
|
|
Hi Amit,
I've picked up this problem from Dijon (we work at the same company). The problem is this:
We allow our users to design reports that contain custom control subreports without having to specify CanGrow - thus ensuring that their report format remains the same.
We avoid the issue of 'cut-off' by overriding OnPaint in our custom control; here we call FarPoint's control paint to paint to an image which we then resize to fit in the area supplied to us by ActiveReports.
My understanding, from the guys that wrote the code for this, is that the system worked very well using ActiveReports 4(?) but, without any real changes on our part, now does not resize the image without losing a great deal of text image quality.
My immediate thought was that the DPI had changed between the two versions of ActiveReports when printing. Certainly regardless of whether we are previewing to screen or printing we are getting a DPI setting through from ActiveReports (in the PaintEventArgs) of 96dpi - perhaps in the previous version this was always set to 300dpi?
Could you check with your dev guys to see if they can confirm/deny that this may be the case. ...if so is there a way to get the DPI upgraded so when I resize I do not lose so much quality? (i.e. the ant-aliasing that farpoint is carrying out would only occur on approx 1/3 of the number of pixels for a piece of text - thus making the display more clear after our resize).
Thanks and regards,
Tom
|
|
|
|
|
Report
|
|
|
|
01-11-2010, 5:19 AM
|
AashishB
Joined on 12-11-2008
Posts 426

|
Re: Shrink sub report to fit on page.
|
|
|
|
|
Tom,
Thanks for the details. Could you please let us know which build and version of Active Reports and FarPoint's control are you using so that we can create a test sample to investigate on this issue. Any other information to isolate this issue would be helpful.
Regards, Aashish
|
|
|
|
|
Report
|
|
|
|
01-11-2010, 5:55 AM
|
tomperren
Joined on 01-08-2010
Posts 8
|
Re: Shrink sub report to fit on page.
|
|
|
|
|
Prior to the problem arising we were using versions:
ActiveReports: 4.2.1.1238
FarPoint: 4.2.1.1238
The problem arose after the upgrade to:
ActiveReports: 5.2.0.397
FarPoint: 4.0.2001.2005
...and still exists with the versions:
ActiveReports: 5.2.1178.2
FarPoint: 4.0.2012.2005
Thanks for your prompt reply!
Regards,
Tom.
|
|
|
|
|
Report
|
|
|
|
01-14-2010, 5:55 AM
|
AashishB
Joined on 12-11-2008
Posts 426

|
Re: Shrink sub report to fit on page.
|
|
|
|
|
Hello Tom,
Thank you for the details. I have entered Case 141611 for our developers to investigate more about this issue. I also tested Farpoint Spread with Active Reports 6 and got a fine output. You may want to download a trial version of Active Reports 6 from the following link and test your sample with it.
Regards, Aashish
|
|
|
|
|
Report
|
|
|
|
01-18-2010, 10:14 AM
|
tomperren
Joined on 01-08-2010
Posts 8
|
Re: Shrink sub report to fit on page.
|
|
|
|
|
It is important to note that we are resizing the output from FarPoint before passing it on to ActiveReports (by overriding the FarPoint OnPaint method and using g.DrawImage to resize the bitmap to 'fit' the space the user has provided).
Previously we have had good results from FarPoint and ActiveReports (with the earlier versions) - but now find that the output loses quality. I am attempting to reproduce the problem with the old version of our software - but this is causing me problem at the moment.
More news when I have it...
|
|
|
|
|
Report
|
|
|
|
|
GrapeCity » Product Support » Data Dynamics R... » Re: Shrink sub report to fit on page.
|
|
|
|
|