Control part of Template using java aspose API


In our project we have decided to use Aspose and i am very much new to it.

I want to generate 3 different type of memos using Aspose Java API. Now the issue is some parts of these memos are common and some are different. I want to use a single template for all these memos instead of using 3 different templates.
Somewhere on the forums i read that we can define sections in our template and can dynamically control these sections. But i dont know how to :
1. Define/Add a section on my template
2. How to control the visibility of that section.

If anyone has any idea on this then please let me know.



<span style=“font-size: 12pt; font-family: “Times New Roman”;”>This question is answered in:

Best regards.