Click to See Complete Forum and Search --> : OLE picture scaling


Octavo
September 6th, 2004, 11:15 AM
Hi guru's

I've got a picturebox which I draw an image in. I want to display the image in a crystal report, among other things to make use of Crystals printing and exporting functions.

Ok, so on my CR I've got an OLE object (bitmap object) and at runtime I pass the picturebox image to the OLE object. It works fine, except for the scaling/size issues I'm having. When I place the OLE object on my CR at design time it automatically sizes it to about 5cmx5cm. If I try to resize the box it sets the xscaling and yscaling properties up and then when I view the report my nice picturebox image is blown up out of proportion. Needless to say the default size is way too small.

Is there a way that I can scale the OLE picture object on my CR up so that my picturebox picture fits into it nicely?
:cry: