How to clear all old document objects like(text-tables-images etc) from document?

hi there,

i designed cool documents using aspose.word dyanamically just facing a problem
like below;
i want to clear text or whatever previously present object from document
dynamically using aspose.word…

please help me .

See Section.ClearContents and ClearStory methods.