Xmp.

WithMetadata(string, string, bool) Method

Summary

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.
Assembly
Wyam.Xmp.dll
Namespace
Wyam.Xmp
Containing Type
Xmp

Syntax

public Xmp 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
Xmp The current module instance.
GitHub