We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com


Dear Sir

I want to insert a sction in my document after a specified section I do it by this code:

Dim builder As DocumentBuilder = New DocumentBuilder(m_Document)



But this section insert in the first of my document .

How could I insert the section in a desire place?


Mehdi Mokhtari

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. MoveToSection method moves cursor of DocumentBuilder to the beginning of the section. I think that you can use MoveTo method. For example see the following code:


I hope this could help you.

Best regards.