Click here to Skip to main content
15,798,592 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a string like
sageInterconnect.Text = string.Format("SageBus INTERCONNECT RIBBON ({0}X)",
                                            panel.Items.Where(x => x is BackPlanes).Count()).ToString();

I want to decrease the Font size of the string programatically,how can i do it?
CHill60 6-Jan-15 5:16am    
a string doesn't have a font size - what is sageInterconnect and does it have a font property?
chandra sekhar 6-Jan-15 5:17am    
It is a visio shape Shape sageInterconnect = panelSheet.Drop(sgaeInterconnect, 5.53, 6.25);

1 solution

Visio Automation is not something I've tried and it turns out that adjusting the font isn't as easy as it sounds.

I've tracked down this article on the subject though - seems to cover all of the main points ...[^]
Share this answer
BillWoodruff 6-Jan-15 9:28am    
+5 Looks like a bulls-eye to me.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900