Page break like in Word


Author
Message
Adam Coel
Adam Coel
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
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
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic
1 active, 1 guest, 0 members, 0 anonymous
No members currently viewing this topic!

Login

Explore
Messages
Mentions
Search