report image - can shrink?

  • Thread starter Thread starter anna_717717
  • Start date Start date
A

anna_717717

Hi all

I've created a report with an image control. Not of of my records have an
image associated with them. Is it possible to 'shrink' the image control if
there is no image to display?

Thanks
 
To my knowledge, Image controls do not have a CanShrink property. I haven't
tried this, but:

You might be able to use the OnFormat event to check the Picture property of
the report and reduce the size of the Image control to zero, if the property
is an empty string. The detail Section does have a CanShrink property, so it
may (with or without more code) shrink.

Most of the time, people expect a picture, so when there isn't one, a "No
Picture" image is usually put in its place.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top