Env
- Windows 10 .NET 4.7
- Aspose.PDF for NET 22.12
Q1
Aspose get a wrong result when set a new metadata value for KeyWords
, steps:
- PDF has a metadata
KeyWords
, its value isDDD
- Change new value for
KeyWords
to444
- It get a wrong result, it became
444; DDD
, the except result should be444
Q2
Aspose overwrites original Creator
and Producer
content, and I didn’t actually change them.
Creator
became to Aspose Pty Ltd.
and Producer
became to Aspose.PDF for.NET 22.12.0
.
Code
var doc = new Aspose.Pdf.Document(@"C:\Users\XCL\Desktop\test\source.pdf");
doc.Info.Title = "111";
doc.Info.Author = "222";
doc.Info.Subject = "333";
doc.Info.Keywords = "444";
doc.Save(@"C:\Users\XCL\Desktop\test\target.pdf");
Before
image.png (45.8 KB)
After
image.png (45.0 KB)
Test Files
test.zip (112.1 KB)