Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,075
Thanks: 6 times Was thanked: 124 time(s) in 121 post(s)
|
Question:We have purchased a license but cannot find a link to the download the full version. Please instruct on where to get the download/enter the key into the trial version. Answer:To use the Pdfium.Net SDK you need to provide a valid license key to the Initialize method of the PdfCommon class. This can either be done directly by providing the key as a string and the call the Initialize(String key) method. Please see the example below: Code:
//Initialize the SDK library with license key
//You have to call this function before you can call any PDF processing functions.
PdfCommon.Initialize("42433553494d500328bd021c3fd13c295f0f22d28e311f9cfb5937fbbb94fda3eb077f57b681c1c01742a0e23ccb0e7c52ccd8ea1674baf7473992f5043a4c77d2dc5ba756cd558d2555tdc333e90a2a036xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxd092574ec50a75aaae3b461c62b70");
//Open and load a PDF document from a file.
var doc = PdfDocument.Load(@"c:\test001.pdf");
...
Edited by user Monday, November 19, 2018 4:46:32 AM(UTC)
| Reason: Not specified
|
 1 user thanked Paul Rayman for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 6/2/2020(UTC) Posts: 1 
|
I use winforms. So PdfCommon.Initialize("XX") must be entered in every winform? Is there a way to do this globally?
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,075
Thanks: 6 times Was thanked: 124 time(s) in 121 post(s)
|
No. PdfCommon.Initialize should be called once in the process.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 7/15/2022(UTC) Posts: 2 
|
Originally Posted by: Paul Rayman  No. PdfCommon.Initialize should be called once in the process.
where should I enter the license key in pdfviewer?
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close