on 10-15-2008 8:23 AM
Hi to all,
I'm using Crystal Report 11.5, Asp.net2.0-C# and SQL server 2005.
I'm doing dynamic report creation job, i retrieve some byte[] from database and bind into the Crystal report Blobobject and i set height=2000 and width=1500 so the image is set to this size, what i want is then image display by the original size if i'm not specify height and width then image is not displaying. How to display the image as it is the oiriginal size?
Hello, Winseelan;
The usual way to have an image show with the original size in the designer is to set Can Grow on for the object.
The CanGrow property in the report allows an object to display in it's original size. You should be able to do that using:
Dim BlobField As FieldObject
BlobField.ObjectFormat.EnableCanGrow = True
The other property I see that may be useful is OriginalHeight and OriginalWidth for ReportAlpplicationServer:
[Click|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/RAS_SDK/rassdk_net_doc/doc/rassdk_net_doc/html/raslrfCrystalDecisionsReportAppServerReportDefModelPictureObjectClassOriginalHeightTopic.htm]
Elaine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.