Thank you for writing.
In order to change the margins of a printed document from RadRichTextEditor
, you need to set them on the loaded document. The behavior is similar to the one in Word. While investigating the described scenario I managed to isolate an issue. The incorrect behavior is related to the editor not applying the margins set to the RadPrintDocument
I have logged the issue in our feedback portal
. I have also added a vote for it on your behalf, here: FIX. RadRichTextEditor - the printing engine does not respect the margins set on the RadPrintDocument
. You can additionally subscribe to the item and be updated with all of its status changes. I have also updated your Telerik points
Until we permanently resolve the issue you need to explicitly apply the margins on the document loaded in the editor. Please check my code snippet below:
sender, EventArgs e)
RadPrintDocument doc =
Telerik.WinForms.Documents.Layout.Padding(0, 0, 10, 10);
RadPrintPreviewDialog dialog =
dialog.Document = doc;
I hope this helps. Should you have further questions please do not hesitate to write back.
Telerik by Progress
Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.