Profile Picture

Page break like in Word

Posted By Adam Coel 10 Years Ago
Author
Message
Nevron Support
Posted 10 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Yesterday @ 1:38 AM
Posts: 3,054, Visits: 4,006
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



Adam Coel
Posted 10 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: 10 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


Similar Topics


Reading This Topic