Free Support Forum - aspose.com

Hiding things

Hi,

What’s the most effective way remove sections of a Word document conditionally?

For instance, I use this structure which shows an image supplied via code:

?TableStart:Empty1??Image:EmptyField??TableEnd:Empty1?

I’d like the ability to conditionally hide the whole thing. What’s the best way to do it? Put it in a separate section and delete section? Any other cool tricks I’m missing?

Thanks so much,

A. Molotkov

Deleting a section seems to be an acceptable way to go used by many our customers.