RasWordsProcessing - Divide page in different section

2 posts, 0 answers
  1. Pinkesh
    Pinkesh avatar
    28 posts
    Member since:
    Sep 2015

    Posted 02 Oct 2015 Link to this post



    I am new in using RadWordsProcessing , I am building report in docx. Requirement is too divide one page in different section, so that i can turn off particular section based on user requirement. How can i divide one page in different section ? because when i try to create other section, it gets created in next page.

  2. Mihail
    Mihail avatar
    223 posts

    Posted 06 Oct 2015 Link to this post

    Hello Pinkesh,

    I am not sure I clearly understand your question and what exactly you are trying to achieve.

    As an introduction, I would like to explain that a document is constructed by sections and the sections are containing the paragraphs and tables. The is no separate object to contain information about the page. However, a section could be divided into pages by inserting a Break element with type PageBreak into a paragraph. In other words, a page cannot be split only the content in a section can in a way representing different pages.

    In RadWordsProcessing, this could be done in two ways. By using the RadFlowDocumentEditor.InsertBreak(BreakType.PageBreak) method who will insert a Break element into the current paragraph, as the Break element is an inlined element. Of course, you could insert directly a Break element into a paragraph.

    I hope this information is helpful for you.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top