Completed
Last Updated: 19 Jan 2023 14:56 by ADMIN
Release R3 2022 SP1
Avrohom Yisroel
Created on: 05 Jan 2022 14:33
Category: WordsProcessing
Type: Bug Report
0
WordsProcessing: Importing html image with no source and then exporting it to pdf causes an exception

Importing html image with no source and then exporting it to pdf causes an exception, instead of omitting the faulty image.

Such images can be stripped using the following workaround:

List<ImageInline> images = this.document.EnumerateChildrenOfType<ImageInline>().ToList();

foreach (var image in images)
{
      if (image.Image.ImageSource == null)
      {
               image.Paragraph.Inlines.Remove(image);
      }
}

1 comment
ADMIN
Peshito
Posted on: 12 Oct 2022 09:53

Hello,

This item will be available in R3 2022 SP1 Release. 

It is also available with Telerik UI for WPF's latest internal build - LIB 2022.3.1017 (17 Oct 2022) if you need it earlier.

Regards,
Peshito
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.