PdfXmpMetadata.Remove
Contents
[
Hide
]Remove(DefaultMetadataProperties)
Removes element with specified key.
public void Remove(DefaultMetadataProperties key)
Parameter | Type | Description |
---|---|---|
key | DefaultMetadataProperties | Key of the element which will be deleted. |
Examples
PdfXmpMetadata xmp = new PdfXmpMetadata();
xmp.BindPdf("input.pdf");
xmp.Remove(DefaultMetadataProperties.Nickname);
See Also
- enum DefaultMetadataProperties
- class PdfXmpMetadata
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
Remove(string)
Removes key from the dictionary.
public bool Remove(string key)
Parameter | Type | Description |
---|---|---|
key | String | Key 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
- class PdfXmpMetadata
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
Remove(KeyValuePair<string, XmpValue>)
Removes key/value pair from the collection.
public bool Remove(KeyValuePair<string, XmpValue> item)
Parameter | Type | Description |
---|---|---|
item | KeyValuePair`2 | Key/value pair to be removed. |
Return Value
true if pair was found and removed.
See Also
- class XmpValue
- class PdfXmpMetadata
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF