Skip to main content

Posts

Showing posts from December, 2014

BIRT - Fix the size of an image

I use a dynamic image as a logo my report in pdf. At the beginning, I use table to align the logo in left or right. I meet a problem with some images with a large width or height. My customer requires that the logo should be displayed in original size.

These following steps solves my problem:
1. Use Grid instead of Table
2. Set Grid "Height" is 100%  and "Width" is blank
3. Set "Fit to container" for images are "true".

Download the the template here.