Watermark on merging pdf version 1.4

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v7)  /  Re: Watermark on merging pdf version 1.4

DynamicPDF CoreSuite for .NET (v7) Forum

 May 05 2016 9:01 AM
Hello
I have DynamicPDF Merger v7.0 for .NET Standard Server License.
When I add a pdf file with PDF Version 1.4 (this appears to be the cause) to the merge, I get this watermark: Evaluating unlicensed DynamicPDF feature. Click 2h3e/r0e1 /f2o0r1 6details. [31:4:s2:v7.0].
What is the feature that license is missing?

Thanks
Nachshon
Posted by a ceTe Software moderator
Hello,

The watermark numbers [31:4:s2:v7.0] on the generated PDF indicates that you are using some Enterprise Edition features of Merger product in your application but you have a license for Standard Edition.

Please make sure that the PDF with which you are facing problem is not secured (encrypted). Also another most likely reason for this is, merging tagged PDF and adding new contents to the PDF.

If the input PDF is tagged then you can turn off the tagging in the output by setting the Tag property of the MergeDocument object to null (Nothing in case of VB.NET) just before you save/draw the PDF. Below is the code sample.

  mergeDocumentObject.Tag=null;
  mergeDocumentObject.Draw(@”Path to save the PDF”);

If you continue getting the similar behavior then please send over the following details to support@cete.com so we can look into it further.

1.Input PDF.
2.Code sample used for merging.
3.Output PDF.

Thanks,
ceTe Software Support Team.
Correct! One of the files is encrypted.
Is there a way to bypass this problem like are you advise in the case of tagged document (Tag=null)?
something like:
mergeDocumentObject.Security=null;
Posted by a ceTe Software moderator
Hello,

In v7 it is not possible to bypass the encrypted PDF. In order to merge encrypted PDFs with v7 you would need an Enterprise Edition license.

In v8 we have included a SecurityInfo enumerator in PdfDocument class to check whether the PDF being merged is encrypted or not. You can avoid merging encrypted PDF using this feature. Refer to the documentation on SecurityInfo enumerator here. Here is the sample code on how to bypass the encrypted PDF using v8.

            MergeDocument document = new MergeDocument();
            PdfDocument pdf = new PdfDocument(@"Path of an input PDF");
            SecurityInfo secInfo = pdf.SecurityInfo;
            string str = secInfo.ToString();
            if (str.Equals("None")) //append PDF if it is not encrypted.
            {
                document.Append(pdf);
            }
            document.Draw(@"Path to save the PDF");

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 3:34 PM.