Class XmpMeta
名称: Aspose.Imaging.Xmp 收藏: Aspose.Imaging.dll (25.4.0)
代表 xmpmeta. 可选该元素的目的是在一般 XML 文本中识别其他非 XMP 使用 RDF 的 XMP 数据。
public sealed class XmpMeta : XmpElementBase, IEquatable<xmpelementbase>, IXmlValue, IEquatable<xmpmeta>
Inheritance
object ← XmpElementBase ← XmpMeta
Implements
IEquatable
继承人
XmpElementBase.AddAttribute(string, string) , XmpElementBase.GetAttribute(string) , XmpElementBase.ClearAttributes() , XmpElementBase.Equals(XmpElementBase) , XmpElementBase.Equals(object) , XmpElementBase.GetHashCode() , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
XmpMeta(线条)
启动了 Aspose.Imaging.Xmp.XmpMeta 类的新例子。
public XmpMeta(string toolkitVersion)
Parameters
toolkitVersion
string
Adobe XMP Toolkit 版本
XmpMeta()
启动了 Aspose.Imaging.Xmp.XmpMeta 类的新例子。
public XmpMeta()
Properties
AdobeXmpToolkit
获取或设置 Adobe Xmp 工具库版本。
public string AdobeXmpToolkit { get; set; }
财产价值
Methods
AddAttribute(字符串, string)
添加特征。
public override void AddAttribute(string attribute, string value)
Parameters
attribute
string
这个属性。
value
string
它的价值。
Equals(XmpMeta)
指示当前对象是否与同类对象的其他对象相等。
public bool Equals(XmpMeta other)
Parameters
other
XmpMeta
一个对象与这个对象相比。
Returns
如果当前对象与 other’ 参数相同,则是真实的;否则是假的。
Equals(对象)
确定所指定的 System.Object 是否相当于此例。
public override bool Equals(object other)
Parameters
other
object
系统.对象与这个例子进行比较。
Returns
“真实”如果指定的 System.Object 等于此例;否则,“虚假”。
GetHashCode()
返回此例的Hash代码。
public override int GetHashCode()
Returns
此例的哈希代码,适合在哈希算法和数据结构中使用,如哈希表。
GetXmlValue()
将 XMP 值转换为 XML 代表性。
public string GetXmlValue()
Returns
返回转换为 XML 表示的 XMP 值。