Hi Bobby,
It’s funny because I tried that and got the same results but today it worked for me. Perhaps I had something cached causing an issue.
Hi Bobby,
This issue is back.
Hi Bobby,
Thanks for sharing the details.
I have tested the scenario and I am able to reproduce the same problem. For the sake of correction, I have logged it in our issue tracking system as PDFNEWNET-38727. We will investigate this issue in detail and will keep you updated on the status of a correction.
We apologize for your inconvenience.
Well I’m glad to know that I’m not crazy but I’m concerned about it being logged as an issue and not having an immediate resolution. The entire purpose of the component is to be able to edit a PDF document and all I’m doing is some text replacement and stamping an image.
I was about to give up and refund the component but figured I’d try and remove the extended rights and it actually solved the issue.
orgplus:
Well I'm glad to know that I'm not crazy but I'm concerned about it being logged as an issue and not having an immediate resolution. The entire purpose of the component is to be able to edit a PDF document and all I'm doing is some text replacement and stamping an image.
Hi Bobby,orgplus:
I was about to give up and refund the component but figured I'd try and remove the extended rights and it actually solved the issue.I've noticed several other threads with similar issue so you might want to add this fix/hack to your ticket for your development team.public static void CreateProfile(SurveyProfile userProfile, string userProfilePath, string templatePath){File.Copy(templatePath, userProfilePath);using (FileStream fileStream = new FileStream(userProfilePath, FileMode.Open, FileAccess.ReadWrite)){Document profileDocument = new Document(fileStream);ReplaceTokens(profileDocument, userProfile.FirstName, userProfile.LastName);InsertResellerLogo(profileDocument, userProfile.logoPath);PdfFileSignature sign = new PdfFileSignature();sign.BindPdf(profileDocument);sign.RemoveUsageRights();profileDocument.Save();}}Result is that the document edits are made and the extended rights are preserved.
The issue logged under the ticket ID PDFNET-38727 has been resolved in Aspose.PDF for .NET 25.12.
You can please download the latest release from:
If you have any further questions, please let us know.