Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
135
Loading image content with HtmlSerializationProvider issue
posted

I am using the XamRichTextEditor, HtmlSerializationProvider, and WPF main from v15.1

A InvalidOperationException is thrown when trying to access the nullable RenderSizeResolved property of an ImageNode. This exception is only encountered if an image is the first piece of content on the document, and the document was saved/loaded with the HtmlSerializationProvider.

The error is not encountered with the WordSerializationProvider.

To reproduce this exception, do the following:

1. Open sample app

2. Click 'Insert Image' and select an image

3. Click 'Save' and close the editor

4. Open the sample app again, and click 'Load'

* Note the exception that is thrown when trying to access the RenderSizeResolved property.

I will attach the sample app

htmlserializertest.zip
Parents Reply Children
No Data