[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Metadata.AddProperty

AddProperty Method

AddProperty(string, string, string)

Adds a property to metadata. Note that only allowed namespaces are:

"http://purl.org/dc/elements/1.1/" (Dublin Core Properties)

"http://ns.adobe.com/xap/1.0/" (XMP Core Properties)

"http://ns.adobe.com/pdf/1.3/" (PDF Properties)

Trying to add a property with another namespace will throw an exception.
Declaration
public void AddProperty(string ns, string name, string value)
Public Sub AddProperty(ns As String, name As String, value As String)
Parameters
Type Name Description
string ns

XML namespace.

string name

Property name.

string value

Property value.