RegisterNamespaceURI

PdfXmpMetadata.RegisterNamespaceURI method

注册命名空间 URI。

public void RegisterNamespaceURI(string prefix, string namespaceURI)
范围类型描述
prefixString前缀。
namespaceURIString命名空间 URI。

例子

PdfXmpMetadata xmp = new PdfXmpMetadata("input.pdf");
xmp.RegisterNamespaceURI("xmp", "http://ns.adobe.com/xap/1.0/");

也可以看看