↓ Skip to main content

Applying a Composed Look programmatically

·1 min
Tom Daly
Author
Tom Daly
Developer, Designer, Thinker, Problem Solver, 10x Microsoft MVP for M365, & Collaboration Director @ SoHo Dragon.

Applying a theme has change from SP2010 to SP2013, here is a link to the method to apply a composed look.

SPWeb.ApplyTheme(
	string colorPaletteUrl,
	string fontSchemeUrl,
	string backgroundImageUrl,
	bool shareGenerated)

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.applytheme.aspx

Related