Profile Picture

Page break like in Word

Posted By Adam Coel 7 Years Ago
Author
Message
Adam Coel
Posted 7 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 1, Visits: 2
Hi All,
Can anyone tell me how can I insert a page break after a paragraph? I don’t want to insert a new page break inline, but rather have the option to tell the paragraph to break the current page just like in Word.

Tags
Nevron Support
Posted 7 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,093 reputation)Supreme Being (4,093 reputation)Supreme Being (4,093 reputation)Supreme Being (4,093 reputation)Supreme Being (4,093 reputation)Supreme Being (4,093 reputation)Supreme Being (4,093 reputation)Supreme Being (4,093 reputation)Supreme Being (4,093 reputation)

Group: Forum Members
Last Active: 6 hours ago
Posts: 2,965, Visits: 3,372
Hi Adam,
In NOV Text Editor you can insert a page breaks before and after every block (not just paragraph) just like in HTML. The PageBreakBefore and PageBreakAfter properties instruct the control layout to insert a page break before or after the block - for example:

NParagraph paragraph = new NParagraph("Page break appears after the paragraph");
paragraph.PageBreakAfter = true;

Another property of interest is the AvoidPageBreaksInside property, which tells the layout to position the block so that its always on one page (if possible). Hope this helps - let us know if you meet any problems or have any questions.




Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic