Declined
Last Updated: 16 Aug 2019 15:22 by ADMIN
Created by: Stephen
Comments: 5
Category: RichTextEditor
Type: Feature Request
0

Dear Sir/Madam,

 

I have a docx document and want to display it in flow layoutmode. It works normally except it cannot show header at the beginning of the document and footer at the end of the document. Please help.

My code is similar as follows (Rte is the RadRichTextEditor control):

 

DocumentFormatProviderBase provider = new DocxFormatProvider();

Rte.SuspendLayout();

Rte.Document = provider.Import([Docx in byte array]);

Rte.RichTextBoxElement.BackColor = Color.White;

Telerik.WinControls.RichTextEditor.UI.DocumentWebLayoutPresenter presenter = (Telerik.WinControls.RichTextEditor.UI.DocumentWebLayoutPresenter)rte.RichTextBoxElement.ActiveEditorPresenter;

presenter.BackColor = Color.White;

presenter.Margin = new Padding(20);

Rte.ResumeLayout();

Rte.PerformLayout(); 

Declined
Last Updated: 20 Jan 2020 12:14 by ADMIN
 The scroll is jumping when making a selection and reaching the end of the document (see attached)
1 2