PdfXmpMetadata.Remove

Remove(DefaultMetadataProperties)

Removes element with specified key.

public void Remove(DefaultMetadataProperties key)
ParameterTypeDescription
keyDefaultMetadataPropertiesKey of the element which will be deleted.

Examples

PdfXmpMetadata xmp = new PdfXmpMetadata();
xmp.BindPdf("input.pdf");
xmp.Remove(DefaultMetadataProperties.Nickname);

See Also


Remove(string)

Removes key from the dictionary.

public bool Remove(string key)
ParameterTypeDescription
keyStringKey which will be removed.

Return Value

True - if key removed; otherwise, false.

Examples

PdfXmpMetadata xmp = new PdfXmpMetadata();
xmp.BindPdf("input.pdf");
xmp.Remove("xmp:Nickname");

See Also


Remove(KeyValuePair<string, XmpValue>)

Removes key/value pair from the collection.

public bool Remove(KeyValuePair<string, XmpValue> item)
ParameterTypeDescription
itemKeyValuePair`2Key/value pair to be removed.

Return Value

true if pair was found and removed.

See Also