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.

Tue Apr 23, 2024 10:30 pm

Hello,

I have a license for Spire.PDF and have recently upgraded the version to 10.4.2, now I'm receiving the following message when using the text extraction:

Evaluation Warning : The document was created with Spire.PDF for .NET.


The product is licensed using the newer interface as follows:

Code: Select all
var stream = ResourceLoader.LoadResourceStream("Pdf.license.elic.xml");

Spire.Pdf.License.LicenseProvider.SetLicense(stream);
Spire.Pdf.License.LicenseProvider.LoadLicense();


and I've also had to change to the newer interface for extracting text as follows:

Code: Select all
var searchOptions = new PdfTextExtractOptions
{
    IsExtractAllText = true,
    IsSimpleExtraction = false,
};
var extractor = new PdfTextExtractor(page);
var text = extractor.ExtractText(searchOptions);


any idea what is wrong?

replaysMike
 
Posts: 13
Joined: Tue Feb 08, 2022 8:43 pm

Tue Apr 23, 2024 10:37 pm

it would appear I would need a new license in order to upgrade, as I have the Developer license.

I guess my next question would be - how do I know what the latest version I am able to license is? Nothing in my account information, all I know is I had 8.2.2 installed before and presumably I have access up to some version within a year of my license.

EDIT: through trial and error I've got up to version 9.3.2 - that release is just over 1 year from my subscription date. Would be really nice to see that on my account profile.

replaysMike
 
Posts: 13
Joined: Tue Feb 08, 2022 8:43 pm

Wed Apr 24, 2024 2:35 am

Hi,

Thanks for your inquiry.
According to your order information, your license expired in March 5th, 2023, it means that your license is valid for the version of Spire.Pdf released before this date. You can check the release information of every version including release date through the following link.
Code: Select all
https://www.e-iceblue.com/news/spire-pdf.html

Meanwhile, the latest version you can use is Spire.Pdf 9.3.2, in this version, please use the old interface to apply license

Code: Select all
var stream = ResourceLoader.LoadResourceStream("Pdf.license.elic.xml");

Spire.License.LicenseProvider.SetLicense(stream);
Spire.License.LicenseProvider.LoadLicense();


If you need to update the latest version of Spire.Pdf 10.4.2, please contact our sales team(sales@e-iceblue.com) to renew for a new license, and they will give you some discount.

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 1010
Joined: Tue Mar 08, 2022 2:02 am

Return to Spire.PDF