Change Font Size using Script

I am able to change a font style using report script but the constructor of the fontstyle object does not allow a font size to be passed

txt1.font = new font(txt1.font, 32, fontstyle.Bold)

This causes an error and the report will not run.

How can I change the font size?

Comments

Leave a Comment