This is a migrated thread and some comments may be shown as answers.

Image in Raddocument

1 Answer 189 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Krzysztof
Top achievements
Rank 1
Krzysztof asked on 27 Nov 2014, 01:00 PM
I would like to add a image in Raddocument  behind table. 
How can I do this?

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 27 Nov 2014, 05:48 PM
Hi Krzysztof,

You can use the FloatingImageBlock class to create an image behind text/table. Please see the snippet below and let us know if you have any other questions.
FloatingImageBlock imageBlock = new FloatingImageBlock();
imageBlock.ImageInline.UriSource = new Uri(url);
 
// Change image sizes
imageBlock.ImageInline.Width = 630;
imageBlock.ImageInline.Height = 200;
 
imageBlock.WrappingStyle = WrappingStyle.BehindText;

Regards,
Tanya
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
RichTextBox
Asked by
Krzysztof
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or