Go to the next page.

3 posts, 0 answers
  1. Tomasz
    Tomasz avatar
    2 posts
    Member since:
    Aug 2017

    Posted 09 Aug Link to this post

    Hello,

    I have application - ss in the file - text editor;

    Writes text on one page "1" and when it reaches the designated "red" then the text goes to the second texteditor "2".

    How to do it?

    Please, help me! Please

  2. Tomasz
    Tomasz avatar
    2 posts
    Member since:
    Aug 2017

    Posted 09 Aug Link to this post

    If you can not do that - question about richtextbox with windows forms.

    I wanted to ask how can I restrict typing in richTextBox. I want to make a page like in Word that after some paragraph goes to the next page, but I do not know how to do it, because it depends on what font.I do not ask for the ready code, though how difficult it is to model, but hints on how.
    I greet and count on understanding.

  3. Hristo
    Admin
    Hristo avatar
    1028 posts

    Posted 09 Aug Link to this post

    Hello Tomasz,

    Thank you for writing.

    You can make use of the positioning API and move the cursor to a different place inside your document. For the purpose, you can handle the PositionChanged event exposed by the RadDocument.CaretPosition object: 
    this.radRichTextEditor1.Document.CaretPosition.PositionChanged += CaretPosition_PositionChanged;

    You can also consider building your document with bookmarks, this way you could easily navigate to them: http://docs.telerik.com/devtools/winforms/richtexteditor/features/bookmarks.

    Please also check the following threads discussing a similar scenario: 
    I hope this helps. Should you have further questions please do not hesitate to write back.

    Regards,
    Hristo
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top