TfrPictureView for an image of unknown dimensions

Good day all,

I have a TfrPictureView connected to a tfield that can have pictures (jpg) of various sizes in it. I do not want to resize the image. I want the image to print in it's original size.

How do I get the band to adjust it's own hieght?

I have tried stretch on both the band and the pictureview.

(am very, very happy that the jpg support was improved)

-Markus

Comments

  • edited 4:29AM
    You can't do this automatically. However, you can add user function that will return the height of the picture. You can call this function in the Band.OnBeforePrint and adjust its height.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.