Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Telerik.Sitefinity.Configuration;
- namespace SitefinityWebApp
- {
- public class ModifyValuesPageAppearanceConfig
- {
- public static void ReadPageAppearanceConfig()
- {
- ConfigManager manager = ConfigManager.GetManager();
- PageAppearanceConfig config = manager.GetSection<PageAppearanceConfig>();
- config.Fonts.Add(new FontElement(config.Fonts)
- {
- Name = "TimesNewRoman",
- Size = 16,
- });
- manager.SaveSection(config);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement