PdfXmpMetadata.Item
Contents
[
Hide
]PdfXmpMetadata indexer (1 of 2)
Gets or sets value by key.
public XmpValue this[string key] { get; set; }
Parameter | Description |
---|---|
key | The key name to get/set. |
Return Value
Object by key
Examples
PdfXmpMetadata pxm = new PdfXmpMetadata();
pxm.BindPdf("PdfFile.pdf");
Console.WriteLine(pxm["xmp:Nickname"]);
See Also
- class XmpValue
- class PdfXmpMetadata
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
PdfXmpMetadata indexer (2 of 2)
Gets value of XMP metadata by key.
public XmpValue this[DefaultMetadataProperties key] { get; set; }
Parameter | Description |
---|---|
key | Key of the value. |
Return Value
Value from XMP metadata.
Examples
PdfXmpMetadata pxm = new PdfXmpMetadata();
pxm.BindPdf("PdfFile.pdf");
Console.WriteLine(pxm[DefaultMetadataProperties.CreatorTool]);
See Also
- class XmpValue
- enum DefaultMetadataProperties
- class PdfXmpMetadata
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF