Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Using OLE Object-Bitmap Image in CR11 Post Reply Post New Topic
Author Message
rajaraman
Newbie
Newbie
Avatar

Joined: 06 Apr 2008
Location: India
Online Status: Offline
Posts: 1
Quote rajaraman Replybullet Topic: Using OLE Object-Bitmap Image in CR11
     Posted: 06 Apr 2008 at 9:49pm
Hi,
I have CR 9, VB 6 to generate report. In that, i use to bind image dynamically each page.
 
Below is the code i have for the above.
 
Dim crxPicture AS CRAXDRT.OLEObject
.
.
nPictName = CurrDir & "IMAGE004.bmp"
If DIR(nPicName) <> "" then
   Set crxPicture = crxReport.Sections(3).ReportObjects.Item("Picture2")
   Set crxPicture.FormattedPicture = VB.LoadPicture(nPicName)
End if
 
The reports works fine displaying image as designed in the report.
 
But, I tried the same in CR 11 and i am seeing the image getting displayed only 25% portion in the defined OLE image size. It is not displaying the whole image as i can see in CR 9.
 
Can anyone help me to sort out?
 
Thanks and Regards
Rajaraman Sethuraman
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum