Print object if space left

Hi

I want to be able to print a picture(TfrxPictureView) on every page if there's room for that picture after all masterdata/childbands etc. have been printed. Also I want to vertical centre that picture in the free space. How do I do this?

Regards

Thomas

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 4:22PM
    in the last object on the page before page footer
    in on after print event
    get the engines.freespace value - pgfooter.height-1
    use an unattached child band to contain the picture object
    after determing the space remaining set desired props for picture and band
    and the use engine.showband(childbandname);
    ;)

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.