Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: How to Display actual size(images) to oleobject in Crystal Report
Basically you need to get new image's width and height, and set this size to CR picture object. Something like:
dim pic as stdpicture
set pic=loadpicture("c:\test.bmp")
oleObj1.SetOleLocation Form4.Label1.Caption
oleObj1.width=pic.Width*567/1000
oleObj1.height=pic.height*567/1000 |
____________________________
If you find the answer helpful, please mark this topic as solved.
|