New Page (Page break)

Hi guys,

Wondering if its possible to have some sort of flag representing the beginning of a new page?

In my template I have a repeating section and not knowing how long it will be on generation, when its finshed i'd like to start my next line after the repeating section has finished on a new page?

Is this possible?

Thanks

Dave

Use DocumentBuilder.InsertBreak method to make forced page break in the document.

Is there no way to set something in the Word Template?

I have created a service which just waits for packets of XML and a template and then produces Documents.

If I use DocumentBuilder.Insert i will have to Alter the Code therefore causing a knock on effect, is there no other way?

Thanks

Dave

You can insert section or page break in your template document by using Insert | Break command in MS Word.

Douh!, as simple as that! . Thanks

Dave