Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

just another inserting images into crystal report question...

Status
Not open for further replies.

linden99

Programmer
May 25, 2004
5
DE
Hello to all,

I've another problem with crystal reports (9.0) and the scaling of *.jpg which I insert. It is no problem to insert the *.jpgs, their path is stored at a MS-SQL-Database, and I am able to show them on my VB-Formular and to insert via

Private Sub DetailSection1_Format(ByVal pFormattingInfo As Object)

Set Picture1.FormattedPicture = LoadPicture(picpath)

end sub

-> Picture1 is an OLE-Object (picture) which is placed onto DetailSection1.

The only problem is, that Crystal Reports decided to give this OLE-Object an distinct size (Height: 6.4 cm, Width 4.8 cm) - which I never told him to do! - and shows all of my *.jpgs horribly distorted. When I am trying to change the size of the OLE-Objekt, the distorsion gets even worse.

Has anyone of you an idea how to resize the OLE-Object or how to get undistorted pictures??

Thank you for your thoughts,

linden99
 
linden99

I am trying to insert .jpgs into a cr9 report also. Can you point me to some more info on how to do?

Thanx.
 
Right click on the picture, format graphic, goto picture tab, in scaling change the size.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top