Programatically adding Optional Sections

E

Elmer Miller

I'm trying to find out how to programatically add or remove optional
sections. I haven't seen any samples showing how to do this. Any help would
be appreciated. Thanks.
 
E

Elmer Miller

I discovered the solution to this problem. You need to use:
XDocument.View.ExecuteAction("xOptional::insert", "group1_1");
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top