troubleshooting Question

Sizing a Graphic to fit a Picture On a Report

Avatar of mlcktmguy
mlcktmguyFlag for United States of America asked on
Crystal Reports
3 Comments1 Solution442 ViewsLast Modified:
In the upper left hand corner of all of my Crystal reports I have the company logo.  The object that holds th elog is defined as a 'Picture'.  As I design each report I load the default graphic into the Picture object.  The default graphic was designed to fit into the area defined for the picture.  it is the correct resolution and size to fit perfectly without any manipulation.

Now we want to provide theusers of the app with tha ability to load thier own grahic to appear in the upper right hand corner of every report.  We have provided a screen where they can select the grahic that they want.  We also revised each of the pertinent reports to accept the grahic location and name as a parameter.

This all works fine except for the fact that the graphics selected by the user were not designed to fit exactly into the area defined for the picture on the report.  I turned off the 'Can Grow' property of the picture because large grahics were overlayin the report contents.

I noticed that their are several properties on the picture object that I don't know anything about but may help with getting non-standard grahics to adapt to the size of the defined picture object.  I see 'Top Cropping', 'Bottom Cropping', 'Left Cropping' and 'Right Cropping' which look promising.

Question:  How I can I define the Picture object so that each graphic adapts to fit into the size of the defined picture object?  

In case this is important, I am passing the graphic to the Crystal report from VB6.0.
ASKER CERTIFIED SOLUTION
frodoman

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros