Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected void ApplyFontStyle(ICustomPropertyItem item, FontStyle fontStyle)
- {
- if(item==null) return;
- System.Drawing.Font newFont = new System.Drawing.Font(item.LabelFont, fontStyle);
- item.LabelFont = newFont;
- item.LabelText = "newText";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement