Is it possible to add keywords to PDF document without quotation marks at start and end?
PdfLoadedDocument loadedDocument = new PdfLoadedDocument("c:\\temp\\1961.pdf");
loadedDocument.DocumentInformation.Title = "Digitalziacja dokumentów PZGiK";
loadedDocument.DocumentInformation.Subject = "Archiwalne rejestry gruntów";
loadedDocument.DocumentInformation.Author = "GISNET";
loadedDocument.DocumentInformation.Creator = "GN Creator";
loadedDocument.DocumentInformation.Producer = "GISNET";
loadedDocument.DocumentInformation.Keywords = "rejestr; grunt; dane";
loadedDocument.Save("c:\\temp\\Output.pdf");
loadedDocument.Close(true);
Hi Grzegorz
Currently, we are analyzing your requirement on our end and we will update the further
details on September 5th 2022.
Regards,
Gowthamraj K
Hi Grzegorz
Sorry for the inconvenience caused.
Due to complexity, we are still analyzing on this requirement and we will update further details on September 6th 2022 without fail.
Regards,
Gowthamraj K
Hi Grzegorz,
We have confirmed this “Rendering issue while adding keywords to PDF document information with special characters” as a defect in our product. We will include the fix for the reported issue in our upcoming weekly NuGet release on September 13th, 2022.
Regards,
Gowthamraj K
Hi Grzegorz,
Sorry for the inconvenience caused.
We are unable to include the fix for the reported issue in our today weekly release. Currently, we are working on this and we will include the fix into our upcoming weekly NuGet release, which will be available on September 20th , 2022.
Regards,
Gowthamraj K
Hi Grzegorz,
We have fixed the reported issue “Rendering issue while add keywords to PDF document information with special characters” and created custom NuGet for this fix in mentioned version (20.2.0.49). This fix will be available on the Vol 3 release which will be available on end of September tentatively.
Custom NuGet:
Please refer to the below KB steps to install the custom NuGet package,
https://www.syncfusion.com/kb/11556/how-to-install-the-customer-patch-nuget-in-windows-machine
We need add this following code snippet with resolve the reported issue,
|
PdfLoadedDocument loadedDocument = new PdfLoadedDocument(GetFileStream(Path.Combine(“invoice.pdf"))); loadedDocument.DocumentInformation.Title = "Haai; hello; welcome"; loadedDocument.DocumentInformation.Subject = "test; pdf; conformance"; loadedDocument.DocumentInformation.Author = "adobe; syncfusion; pdf"; loadedDocument.DocumentInformation.Creator = "GN; Creator"; loadedDocument.DocumentInformation.Producer = "GISNET; producer"; loadedDocument.DocumentInformation.Keywords = "keyword; with; comma"; var xmp = loadedDocument.DocumentInformation.XmpMetadata; MemoryStream stream = new MemoryStream(); loadedDocument.Save(stream); File.WriteAllBytes("sample.pdf", stream.ToArray());
|
Please let us know if you need any further assistance in this.
Regards,
Gowthamraj K
Thank you for taking care of my problem. Unfortunately, the indicated archive is damaged and does not unpack correctly. :(
Hi Grzegorz,
Sorry for the inconvenience caused.
We have shared the new link for custom NuGet package for the issue “Rendering issue while add keywords to PDF document information with special characters” in this mentioned version (20.2.0.49).
Please refer to the below KB steps to install the custom NuGet package,
https://www.syncfusion.com/kb/11556/how-to-install-the-customer-patch-nuget-in-windows-machine
Note: You can refer to the code snippet from the previous update.
As we said earlier, this fix will be available on the Vol 3 release which will be available on end of September tentatively.
Regards,
Gowthamraj K
Hi Grzegorz,
We have included the fix for this reported issue with “Rendering issue while add keywords to PDF document information with special characters” in our Essential Studio 2022 Volume 3 Main Release V20.3.0.47 and we are glad to announce that our Essential Studio 2022 Volume 3 Main Release V20.3.0.47 is rolled out and is available for download under the following link.
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Regards,
Gowthamraj K