Free Support Forum -

HTML to PDF missing data

Hi, we are currently experiencing data loss when converting specific files from HTML to PDF. An example file is attached, and the source code we use is below.
Note: If we remove table-layout: fixed from the CSS it appears to fix the issue, but the HTML displays correctly in a browser with the style still applied. (8.3 KB)

   Dim saveOptions = New AP.PdfSaveOptions()
   Using doc As New AP.Document(source, New AP.HtmlLoadOptions)
      Using destination As New MemoryStream
          doc.Save(destination, saveOptions)
                Return destination.ToArray
      End Using
   End Using


It seems to be an issue with API and a ticket with ID PDFNET-49735 has been created to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixe.