-
Couldn't load subscription status.
- Fork 585
Open
Labels
Description
Reporting an Issue Here
Hi, I am trying to add custom property with special characters. (like that: "ÖÇŞİĞÜüğişçö", "فثسف", "飽€¨´" )
Thanks.
Expected Behavior
The name and the value should be same.
Actual Behavior
Steps to Reproduce the Behavior
PdfDocument document;
key=value;
try
{
document = PdfReader.Open(filePath);
var properties = document.Info.Elements;
properties.SetString("/" + key, value);
document.Save(filePath);
document = null;
return true;
}
catch (Exception e)
{
if (document != null)
document = null;
throw;
}