Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Wed Dec 02, 2015 12:09 pm

I use this code for my issue:

Code: Select all
'Load File
        Dim doc As New PdfDocument()
        doc.LoadFromFile("C:\Users\USer\Downloads\somePDF.pdf")

        Dim images As IList(Of Image) = New List(Of Image)()

        For Each page As PdfPageBase In doc.Pages
            For Each image As Image In page.ExtractImages()
                images.Add(image)
            Next image
        Next page

        doc.Close()

        'Save Image
        Dim index As Integer = 0
        For Each image As Image In images
            Dim imageFileName As String = String.Format("Extract{0}.png", index)
            index += 1
            image.Save(imageFileName, ImageFormat.Png)
        Next image

        System.Diagnostics.Process.Start("Extract0.png")


Now, It always throw a message that Spide.PDF free version is limited.. How can I pass this by?
And can someone write me a code that I must be using for this issue that I explained above?

SabanHe
 
Posts: 1
Joined: Wed Dec 02, 2015 12:05 pm

Thu Dec 03, 2015 2:39 am

Hi,

Thanks for your inquiry.
Free edition has some limitations on functions. I recommend you to evaluate commercial edition, Spire.PDF Pack(Hot Fix) Version:3.5.143.

We can offer you 1-month free license if you need. You could contact [email protected] to get a license file to remove the warning message and have a better evalution on our products.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3011
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.PDF