How to change crystal report object font fit text view
How to change the font size of an object to 开发者_如何学Pythonfit the text view in the crystal report with c#
If you need to change it to a certain fixed size, just go to format field and choose the font size.
If you're trying to change the size based on some condition, use this:
- Click on the font tab.
- Click on the formula button next to size.
- Put your conditional formula there as:
"if condition then fontsize# else fontsize#"
Example:
if {tbl.color}="blue" then 2 else 3
精彩评论