FlowDocument flb = new FlowDocument(); BitmapImage bitmapSmiley = new BitmapImage(new Uri(cboImageSample.SelectedItem.ToString() + ".png", UriKind.Relative)); Paragraph para = new Paragraph(); Image image = new Image(); image.Source = bitmapSmiley; image1.Source = bitmapSmiley; image.Height = 20; image.Width = 20; image.Tag = cboImageSample.SelectedItem.ToString() + ".png"; para.Inlines.Add(image); richTextBox2.Document.Blocks.Add(para);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)