Quantcast
Viewing all articles
Browse latest Browse all 3131

Form Fields not filled in when converting PDF to JPG

When I convert a PDF to JPG, the form fields are not filled out.  When I look at the same PDF in Adobe reader the fields are filled out correctly.  (I have attached images of both)

Here is my code:

Dim doc As New Aspose.Pdf.Document(fileName)Using memStream As New IO.MemoryStream()'create Resolution objectDim resolution As New Aspose.Pdf.Devices.Resolution(300)'create JPEG device with specified attributes (Width, Height, Resolution, Quality)'Quality [0-100], 100 is MaximumDim jpegDevice As New Aspose.Pdf.Devices.JpegDevice(resolution, 100)'convert a particular page and save the image to stream
	jpegDevice.Process(doc.Pages(page), memStream) 
Return memStream.ToArray()End Using


Viewing all articles
Browse latest Browse all 3131

Trending Articles