Declined
Last Updated: 13 Apr 2023 08:28 by ADMIN
Rohit
Created on: 11 Apr 2023 07:44
Category: WordsProcessing
Type: Feature Request
1
line-height in RadFlowDocument Editor
Is there any option to set line-height for text in RadFlowDocument Editor?
1 comment
ADMIN
Yoan
Posted on: 13 Apr 2023 08:28

Hello Rohit,

Yes, the RadFlowDocumentEditor does provide a way to modify the line spacing of text by exposing the LineSpacing and LineSpacingType properties.

Example:

RadFlowDocument document = new RadFlowDocument();

RadFlowDocumentEditor editor = new RadFlowDocumentEditor(document);

editor.ParagraphFormatting.LineSpacing.LocalValue = 40;
editor.ParagraphFormatting.LineSpacingType.LocalValue = HeightType.Exact;

Hope this helps. If you have any further questions, feel free to ask.

Regards, Yoan Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.