on 01-24-2012 7:19 PM
To be brieft, I use VB6 and Crystal Reports 9. I need to dynamically include images in a report. I can load the images dynamically at run time, but I cannot scale the image(s).
My questions is, does Crystal Reports 11 support scaling of images at runtime or can you explain how to scale the images in Crystal 9?
Thanks
The following applies to CR 2008 and CR 2011 (currently supported). The detaisl of how CR 9 worked with images is a knowledge long lost or I don't remeber. You may want to do a bit of seaching (use teh search box in the top right corner), but I am not sure if you will fionad anything useful. The below will also most likely apply to CR XI.
General tips re. images:
Save the files a BMPs.
When .jpg image is inserted into Crystal Reports it is converted into bitmap format and as the result of the conversion the report may loose some quality, scale and otyher issues may arise... E.g.; Crystal Reports is not so good a graphics management tool
When an image is saved as a .bmp, then there is no conversion required and thus the quality of the image should be preserved.
Best practice: save the image with high resolution and required size as a .bmp format then insert this image into Crystal Reports.
One more thing. Many people like to use jpg files as they are smaller than bmp files. However, as far as Crystal Reports is concerned, this is inconsequential. The report file will be the same size if a file is inserted as a jpg or a bmp. This is due to the jpg conversion to bmp Crystal Reports does internally.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Moved your post to the legacy SDK forum.
Assuming you are using the RDC ( craxdrt.dll ) ?
CR 9 did not have any scaling ability I believe... Solution was to scale all images to best suit the report designer. There were Report Creation API's available ( if you had a keycode licensed for it ) that would allow you to change the image object size but not sure if that would work for you.
I think your only option is to prescale the images before being used in the report.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.