DataBand-Components - Is it possible to span image two rows?

Stimulsoft Ultimate discussion
Post Reply
User avatar
tpontow
Posts: 206
Joined: Thu Sep 06, 2012 8:46 am
Location: Bonn, Germany

DataBand-Components - Is it possible to span image two rows?

Post by tpontow »

Hello Stimulsoft Support,

i have a question regarding an image in a databand. In a databand i placed 3 text components and an image. The first text component is at the same place in the databand as the image (left, top 0,0). All text components have the same height as the databand. The image is twice as high as the databand and text components.

The first text component has a condition (if Line == 1 || Line == 2 component is enabled = false).
The image has a condition (if Line > 1 then component is enabled = false).

So the first text is shown beginning with line 3 and the image is only shown in line 1.

Is it possbile somehow to overlap the image with the second row so that there is no gap between first an second row (column 2 and 3) and no gap between image and third row (column 1)?

Thanks and regards
Thorsten Pontow

Rendered it looks that way:
Attachments
Image in DataBand - Rendered
Image in DataBand - Rendered
DataBand WithImageRendered.png (30 KiB) Viewed 2427 times
Image in DataBand - Design
Image in DataBand - Design
DataBand WithImageDesign.png (30.47 KiB) Viewed 2427 times
Thorsten Pontow

It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: DataBand-Components - Is it possible to span image two r

Post by HighAley »

Hello.

You should set the Can Grow property of the Data Band to False.
Please, look at the attached report template.

Thank you.
Attachments
Report.mrt
(5.15 KiB) Downloaded 244 times
User avatar
tpontow
Posts: 206
Joined: Thu Sep 06, 2012 8:46 am
Location: Bonn, Germany

Re: DataBand-Components - Is it possible to span image two r

Post by tpontow »

Hello Aleksey,

your suggestion to use

Code: Select all

CanGrow = false; 
eventually solved my problem. Thanks for your support!

Regards
Thorsten Pontow
Thorsten Pontow

It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: DataBand-Components - Is it possible to span image two r

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you need any additional help.

Thank you.
Post Reply