Table of Contents

Method Add

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Add(string, string)

Creates new XMP property and adds it to the end of this XmpPropertyList.

public XmpProperty Add(string name, string value)

Parameters

name string

The name of the property.

value string

The value of the property.

Returns

XmpProperty

The newly created XMP property.

Remarks

The value of the property specified by value can be null.

Collection should not contain duplicate properties, so the ArgumentException will be thrown if this XmpPropertyList already contains property with specified name.

Add(string, string, string)

Creates new XMP property and adds it to the end of this XmpPropertyList.

public XmpProperty Add(string name, string value, string description)

Parameters

name string

The name of the property.

value string

The value of the property.

description string

The description of the property.

Returns

XmpProperty

The newly created XMP property.

Remarks

The value of the property specified by value can be null.

Collection should not contain duplicate properties, so the ArgumentException will be thrown if this XmpPropertyList already contains property with specified name.

Add(string, XmpValue)

Creates new XMP property and adds it to the end of this XmpPropertyList.

public XmpProperty Add(string name, XmpValue value)

Parameters

name string

The name of the property.

value XmpValue

The value of the property.

Returns

XmpProperty

The newly created XMP property.

Remarks

Collection should not contain duplicate properties, so the ArgumentException will be thrown if this XmpPropertyList already contains property with specified name.

XMP property value can be null or an instance of XmpArray, XmpString or XmpStructure types only.

Add(string, XmpValue, string)

Creates new XMP property and adds it to the end of this XmpPropertyList.

public XmpProperty Add(string name, XmpValue value, string description)

Parameters

name string

The name of the property.

value XmpValue

The value of the property.

description string

The description of the property.

Returns

XmpProperty

The newly created XMP property.

Remarks

Collection should not contain duplicate properties, so the ArgumentException will be thrown if this XmpPropertyList already contains property with specified name.

XMP property value can be null or an instance of XmpArray, XmpString or XmpStructure types only.