Force a page break?

T

tomb

Please, anyone, how do you force a page break while printing the
contents of a richtextbox? Is there a special code to embed in the
richtextbox? Any help?

Tom
 
J

Jay B. Harlow [MVP - Outlook]

Tom,
Two paragraphs just before the "Adding Formatting to the New Class"
discusses Page Breaks, however I see that the paragraph may be in context of
a PrintDocument & not the RichTextBox per se.

Seeing as the RichTextBox is simply a wrapper around the Win32 rich edit
control, you should be able to use the info in the article to send the "page
break" command (EM_?? message) to the rich edit control, however I am not
seeing the "page break" command right now...

--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


| Jay B. Harlow [MVP - Outlook] wrote:
|
| >Tom,
| >Does this article help?
| >
|
| >
| >
| >
| I don't see anything in there about forcing a page break. It did look
| interesting for other things, though.
|
| Tom
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top