RichTextBoxEditor SaveAs Xaml (RadDocument) with UriSource image

1 Answer 41 Views
RichTextBox
Florian
Top achievements
Rank 1
Iron
Iron
Florian asked on 30 Nov 2022, 01:18 PM

Hi,

I'm trying to use your RichTextBoxEditor and I observe that when I'm inserting an image and I save my document as xaml, my image is save as rawdata and not as an UriSource...

Do you have a solution ?

Should I create a custom SaveAs Xaml ? Can I have the source code of this command (SaveCommand) ?

1 Answer, 1 is accepted

Sort by
0
Accepted
Tanya
Telerik team
answered on 02 Dec 2022, 02:44 PM

Hello Florian,

Indeed, the default behavior of XamlFormatProvider is to use the raw data but you can control how the images are preserved in the generated XAML through the ExportSettings of the class. For more information, please check the Settings help topic.

As to getting the source code, you can do so through the Downloads page in your Telerik account. Detailed steps on how to access it are available in the Download Product Files article.

I hope the provided information is helpful.

Regards,
Tanya
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

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