Specifies an XML element to find in the XMP data along with the metadata key that will be used to set it in the document.
- Namespace
- Statiq.Xmp
- Containing Type
- ReadXmp
Syntax
public ReadXmp WithMetadata(string xmpPath, string targetMetadata, bool isMandatory = false)
Parameters
Name |
Type |
Description |
xmpPath |
string |
The tag name of the XMP element including the namespace prefix. |
targetMetadata |
string |
The metadata key where the value should be added to the document. |
isMandatory |
bool |
Specifies that the input should contain the XMP metadata. |
Return Value
Type |
Description |
ReadXmp |
The current module instance. |