Hello!
I try get path to image which is inserted to RadRichTextBox (with help RadRichTextBoxRibbonUI). I need local path on my computer.
i try it:
But e.Image.UriSource is null.
And I try it:
But in
Please, help me as soon as possible.
Thanks!
I try get path to image which is inserted to RadRichTextBox (with help RadRichTextBoxRibbonUI). I need local path on my computer.
i try it:
HtmlFormatProvider fp = new HtmlFormatProvider();fp.ExportSettings = new HtmlExportSettings{ StylesExportMode = StylesExportMode.Inline, DocumentExportLevel = DocumentExportLevel.Fragment, ExportStyleMetadata = false, ImageExportMode = ImageExportMode.ImageExportingEvent};fp.ExportSettings.ImageExporting += OnImageExporting;string html = fp.Export(editor.Document);.....private void OnImageExporting(object sender, ImageExportingEventArgs e){ string path = e.Image.UriSource.AbsoluteUri;}But e.Image.UriSource is null.
And I try it:
HtmlFormatProvider fp = new HtmlFormatProvider();fp.ExportSettings = new HtmlExportSettings{ StylesExportMode = StylesExportMode.Inline, DocumentExportLevel = DocumentExportLevel.Fragment, ExportStyleMetadata = false, ImageExportMode = ImageExportMode.UriSource};string html = fp.Export(editor.Document);string html I do not see <img> tag.Please, help me as soon as possible.
Thanks!