[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Metadata.AddProperty

AddProperty Method

AddProperty(string, string, string)

Adds a property to metadata. Note that the 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
  • http://ns.adobe.com/pdfx/1.3/Custom Properties
Trying to add a property with another namespace will throw an exception.
Declaration
public void AddProperty(string @namespace, string name, string value)
Public Sub AddProperty([namespace] As String, name As String, value As String)
Parameters
Type Name Description
string namespace

The XML namespace.

string name

The property name.

string value

The property value.