Hi, Can you tell me what am I doing wrong? Watermark is not going away.
We add license like this:
if (!ceTe.DynamicPDF.Conversion.Converter.AddLicense("licensekey"))
{
throw new Exception("DynamicPDF license is invalid");
}
public Stream ConvertTiffToPDF(byte[] fileContents)
{
if (fileContents == null || fileContents.Length == 0) throw new ArgumentException(nameof(fileContents));
TiffFile? tiffFile = null;
try
{
tiffFile = new TiffFile(fileContents);
var document = tiffFile.GetDocument();
var pdfStream = new MemoryStream();
document.Draw(pdfStream);
return pdfStream;
}
finally
{
tiffFile?.Close();
}
}
Watermark not going away even with valid license
Re: Watermark not going away even with valid license
Forum member · Apr 4, 2023Sorry, we are adding license like this:
if (!ceTe.DynamicPDF.Document.AddLicense("licensekey"))
{
throw new Exception("DynamicPDF license is invalid");
}
Re: Watermark not going away even with valid license
Forum member · Apr 4, 2023Sorry, we are adding license like this:
if (!ceTe.DynamicPDF.Document.AddLicense("licensekey"))
{
throw new Exception("DynamicPDF license is invalid");
}
Re: Watermark not going away even with valid license
Support · Apr 4, 2023Hi,
You are getting a watermark on the output PDF because you're using a DynamicPDF Core Suite Full edition features but have an Essential edition license. Please refer to the feature chart here
.
Please make sure to use the features included in your license and see if it works for you.
If you continue getting watermark on the output PDFs then please send over following information to [^a|mailto:support@dynamicpdf.com|opennewwindow|support@dynamicpdf.com^] so we can look into it further.
1. Exact watermark numbers[xx:xx:xx:xx] displayed on the output PDF or output PDF having watermark on it.
2. License key added to the application.
3. Exact version and build number of DynamicPDF DLL file used in your application. You can find this information by right clicking on the DynamicPDF Core Suite DLL file>>Properties>.Details tab>>Product version. Take a screenshot of Details tab and send it over to us.
Thanks,
ceTe Software Support Team