Post by Deleted on Oct 23, 2016 5:06:38 GMT 10
Dear TechViewForum Users...
Hello I am the creator of CurvyApps and I want to get started on my first application. My first application that I am building is a Word Processor but I need some help. I want the Text Editor to Break the page automatically when I go over a certain amount of lines(Of Text). Also, I want to create an feature that allows you to insert WORD ART like MS WORD. With Help from you guys, I can create an amazing Word Processor that I will upload on the TECHVIEWFORUM VB.NET projects page If I can. Thank you for reading this long thread.
From CurvyApps...
|
|
Post by Nathan Lecompte on Oct 23, 2016 11:01:03 GMT 10
Hey CurveApps, I'm guessing you're using the RichTextBox control? In that case, page breaks aren't possible; page breaks are only relevant when you print to paper. However, I searched around a bit and found this little snippet of code which other's seem to agree, works (however, I haven't tested it myself, so no promises): richTextBox1.SelectedRtf = @"{\rtf1 \par \page}"; Hope this helps!
|
|
Post by bobowk on Oct 23, 2016 11:06:13 GMT 10
There is a really awesome plugin which you can download called Text Control. It is an excellent alternative to the RichTextBox control. It has page breaks, tables, supports shapes and more. The Express version is free but with some restrictions. The Full Version has all features but has a hefty price of around 600-800 dollars. If this helped please press the tick and put solved in your title
|
|
Post by ranilwallace on Nov 8, 2016 11:25:25 GMT 10
You can probably let each page of the document be its own richtextbox inside a flowlayoutpanel and apply padding.. then make a custom skin to make the rich textbox look like a page..
Ranil, Lauve Tech
|
|