c# - How to Change the Color Scheme in a Docx document? -


i want know if possible modify colors of document programatically using c#.

enter image description here

after generating document using c# language, how can modify document theme color? have tried using macro didn't worked.

the solution problem was:

  1. save desired theme in thmx format;
  2. create following macro:

    sub macrosettheme()

     activedocument.applydocumenttheme _ "c:\users\admin\theme.thmx"   activedocument.save 

    end sub


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -