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
Post a Comment