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

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -