We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Resize font size while printing

Hi,

I'm using GridDataBoundGrid,
In this I maintain different font size and font families to cells.While printing this grid I need to show all columns in one page only. To show all columns in one page i'm scaling the grid to fit into a single page, such that the font size is resized according to the number of columns.
If the columns are more, then the font size is diminished and if the columns are less then font size is increased.
It works fine for the cells which are not formatted, i.e the font size is resized accordingly.But the font size is not resized accordingly for the cells which are formatted i.e having different font size and font families.
Please check the attached image for better understanding.
Please provide the solution to the problem.

Thanks
Raghavendra



Font_Size_Problem.zip

1 Reply

SR Sri Rajan Syncfusion Team April 11, 2008 02:02 AM UTC

Hi Ragavendra,

Thank you for your patience.

Here is the minimal sample which solves this issue.

http://websamples.syncfusion.com/samples/Grid.Windows/F72725/main.htm

Please let me know if you have any further questions.

Best Regards,
Srirajan



Loader.
Live Chat Icon For mobile
Up arrow icon