alignment - Jasper Reports image and text mix -



alignment - Jasper Reports image and text mix -

i want write jasper reports application. has arrange image , text such appropriately placed. want.

i images , texts web service, can fetch image size on runtime. if width bigger text should below, , vice versa. tried setting width alternative parameter, did not work.

how can it?

correct: cannot set image width using parameter.

the quickest solution this: determine maximum width is. utilize 'print when expression' display either picture-next-to-text layout or picture-above-text layout. study have 2 image elements , 2 text elements, you'll take 1 display based on image size.

an alternative investigate dynamic jasper. that's project designed dynamically generate .jrxml on fly, has ability modify width similar you're describing.

jasper-reports alignment

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -