Page 1 of 1

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

Posted: Wed Jun 15, 2016 12:51 pm
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,

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

Posted: Thu Jun 16, 2016 8:24 am
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.

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

Posted: Thu Jun 16, 2016 8:48 am
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

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

Posted: Thu Jun 16, 2016 10:24 am
by HighAley
Hello.

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

Thank you.