I have searched everywhere but cannot find the proper property to set Copyright Notice and Copyright Status with ABCPdf.
Here is nothing http://www.websupergoo.com/helppdf8net/default.html?page=source/4-examples/14-setprops.htm
While scanning Adobe PDF Specification I find nothing either.
Does anyone have a clue?
Got it working thanks to ABCpdf who helped me figure it out.
Had to use XMP and RDF to set it.
Copyright.txt contains
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about='' xmlns:xapRights='http://ns.adobe.com/xap/1.0/rights/'>
<xapRights:Marked>True</xapRights:Marked>
</rdf:Description>
<rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:rights>
<rdf:Alt>
<rdf:li xml:lang="x-default"><![CDATA[Copyright Acme Inc]]></rdf:li>
</rdf:Alt>
</dc:rights>
<dc:creator>
<rdf:Seq>
<rdf:li><![CDATA[Acme Inc]]></rdf:li>
</rdf:Seq>
</dc:creator>
</rdf:Description>
And from Code behind:
// Set metadata
var theXml = File.ReadAllText(context.Server.MapPath("Copyright.txt"));
var so = new StreamObject(doc.ObjectSoup);
so.SetText(theXml);
so.Compress();
// add dictionary to document catalog
var cat = (DictAtom)doc.ObjectSoup.Catalog.Atom;
cat.Add("Metadata", new RefAtom(so));