Hi,
I am trying to clear formatting by using below command:
ClearFormattingCommand command =
new
ClearFormattingCommand(cEditor.RichTextBoxElement.ActiveEditor);
command.Execute();
However, font and size (bigger) different that set by:
private
void
SetDef(RadDocumentEditor editor)
{
editor.ChangeFontFamily(
new
Telerik.WinControls.RichTextEditor.UI.FontFamily(
"Tahoma"
));
editor.ChangeFontSize(Unit.PointToDip(10));
editor.ChangeFontStyle(Telerik.WinControls.RichTextEditor.UI.FontStyles.Normal);
editor.ChangeFontWeight(Telerik.WinControls.RichTextEditor.UI.FontWeights.Normal);
editor.ChangeParagraphSpacingAfter(0);
}