Aspose PDF

,

I am looking to do some fancy PDF stuff and it looks like the Aspose.Pdf will work. However, without a known license, it will add a watermark. This is for a cloud customer, so there are limitations to what I can add.

  1. Is there a license built into the system that is usable?
  2. Is there simple C# code I can add to a function to merge PDFs? (remember, I can’t add files to the server).
  3. I see there is PdfEdit too, but it adds a watermark too…

@Jason_Woods , Done a POC with Aspose, it’s a really solid .net suite.

We evaluated whether it would be worth acquiring the licenses directly from them which would resolve the watermarking. I’ll see if I can find the support case on Monday as we asked these sorts of questions also.

The only other solution we liked at which was substantial cheaper was IRONpdf.

Aspose git for the merge pdfs:

Thanks. I was able to get the output with Aspose and PdfEdit (with a Watermark). I am hoping that the license does not have to be a file because this is a Cloud customer.

@Jason_Woods , nice :+1:, I think the last discussion my team had on it we reached the same conclusion that we would have to acquire a licence file and put it on the server and if I remember rightly there we some pretty tight ruling s on the usage of the evaluation licence.

I have a a gut feeling it’s the sort of suite they may be leveraging with the dynamic documents module , but I maybe wrong, would be interesting to find out.

Not sure if any of this would work:

Looks like it will run as an Azure function. You may be able to call it that way.

An Azure Function would be a good fallback. I could use PDFSharp instead (free). I prefer to keep things as simple as possible, but this may be a problem that takes some “out of the box” thinking…

Sometimes cloud problems require cloud solutions. :person_shrugging:

There’s no doubt in my mind you’ll find something that works.

1 Like

If I am not mistaken, Kinetic uses the iText (formerly iTextSharp) library already, and as far as I know the older versions were free under LGPL. I think the newer versions are under AGPL license, meaning free for open-source usage, but for commercial use you need a license…

Here is an example of what you can do to PDFs with it: Introduction to PDF Manipulation With iText (Formerly iTextSharp) .

I don’t see this assembly as an available Reference. Do you happen to know what the name is?

Nevermind, I was mistaken… 10.2 used PdfPrinting.Net, but now Kinetic appears to be using Aspose…

By digging a little, you should be able to use the license that comes with Kinetic for Aspose… Have a look at a decompilation of Ice.Lib.PDF.dll:

This was it! The Ice.Lib.PDF had the license built in, so I was able to do the logic!

@Jason_Woods nice work, did you have to set code it to set the licence via stream from the .lic file ? Defo would be interesting seeing the code, if that is okay to ask ?

I just copied the raw XML into my code. It isn’t proper programming, but it worked.