We are trying to convert an HTML file with CSS to PDF
In the result PDF background colors are not shown
HTML_BOOTSTRAP.zip (201.4 KB)
This is the code used to produce PDF output
Dim license As New Aspose.Pdf.License()
license.SetLicense("C:\PDF\Aspose.Pdf.lic")
Dim dataDir As String = "C:\PDF\"
Dim dataDirCss As String = "C:\PDF\css"
Dim output As String = dataDir & "BootstapHTML.html"
Dim options As HtmlLoadOptions = New HtmlLoadOptions(dataDirCss)
Dim pdfDocument As Aspose.Pdf.Document = New Aspose.Pdf.Document(output, options)
pdfDocument.Save(dataDir & "BootstapHTML.pdf")