PdfXmpMetadata.GetPrefixByNamespaceURI

PdfXmpMetadata.GetPrefixByNamespaceURI method

Gets the prefix by namespace URI.

public string GetPrefixByNamespaceURI(string namespaceURI)
ParameterTypeDescription
namespaceURIStringNamespace URI.

Return Value

The prefix value.

Examples

PdfXmpMetadata xmp = new PdfXmpMetadata("input.pdf");
Console.WriteLine(xmp.GetPrefixByNamespaceURI("http://ns.adobe.com/xap/1.0/"));

See Also