Hello good afternoon!
After applying compliance to an existing pdf document, within Adobe Reader it is no longer possible to search for text / word within the file.
What will be the reason for this?
Attached are the files before and after compliance application.
Below is an example of the code used.
Dim doc As New PdfDocument()
doc.LoadFromFile("C:\OUT_GTW\File_No_Conformance.pdf")
Dim newDoc As New PdfNewDocument()
newDoc.Conformance = PdfConformanceLevel.Pdf_A1A
For Each page As PdfPageBase In doc.Pages
Dim size As SizeF = page.Size
Dim p As PdfPageBase = newDoc.Pages.Add(size, New Spire.Pdf.Graphics.PdfMargins(0))
page.CreateTemplate().Draw(p, 0, 0)
Next page
Dim output As String = "C:\OUT_GTW\File_With_Conformance.pdf"
newDoc.Save(output)
newDoc.Close()
Lib Version: 5.8.7.2040
Thank you in advance for your attention.