or
public
RadDocument ImportDocx()
{
RadDocument document =
null
;
IDocumentFormatProvider provider =
new
DocxFormatProvider();
OpenFileDialog openDialog =
new
OpenFileDialog();
openDialog.Filter =
"Documents|*.docx"
;
openDialog.Multiselect =
false
;
DialogResult dialogResult = openDialog.ShowDialog();
if
(dialogResult == System.Windows.Forms.DialogResult.OK)
{
using
(FileStream stream =
new
FileStream(openDialog.FileName, FileMode.Open))
{
document = provider.Import(stream);
}
}
return
document;
}
Dear this is wamiq
i have a problem in my rich text editor when i am using arabic font , actually the sceerio is that when i paste arabic text into my rich text editor and then try to change it to other arabic font from the font dropdown up in the main menu of rich text it's destroying all the text,,
Can you please assist me im attaching image for reference