simultaneous "render to" and "shrink font to fit" properties

Stimulsoft Reports.NET discussion
Post Reply
alepage
Posts: 56
Joined: Mon Jan 19, 2009 7:02 am
Location: France

simultaneous "render to" and "shrink font to fit" properties

Post by alepage »

Hi,

Is it possible to set text areas in the disigner like this ? I would like to use both of those properties "render to" and "Shrink font to fit" properties at a same time.
First I want a text area to render to another one, and then if there's to much text in both areas that the "shrink font to fit" property takes effect.

Thanks,
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: simultaneous "render to" and "shrink font to fit" proper

Post by HighAley »

Hello.

You could try to use Double Pass mode.
Please, try to change the Number of Pass property of the report to Double Pass.
After this, you could use the Render To property of the first pass and if it's necessary to enable the Shrink Font to Fit on the Second pass.

Thank you.
alepage
Posts: 56
Joined: Mon Jan 19, 2009 7:02 am
Location: France

Re: simultaneous "render to" and "shrink font to fit" proper

Post by alepage »

Hi HighAley,

Thanks for the advise. I have forgotten this property, which wasn't usefull until today.
So, I change the Number of pass value to "Double Pass", but where can I determine that the property "Render to" is linked to the simple pass, and the "shrink font to fit" property is linked to the second pass. Is it a event ?

Thank you as well
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: simultaneous "render to" and "shrink font to fit" proper

Post by HighAley »

Hello.

You could use the Before Print event of the component and check the system variables IsFirstPass and IsSecondPass.

Thank you.
Post Reply