PdfXmpMetadata.Add
محتويات
[
يخفي
]Add(DefaultMetadataProperties, XmpValue)
تضيف قيمة إلى بيانات XMP.
public void Add(DefaultMetadataProperties key, XmpValue value)
| Parameter | Type | Description |
|---|---|---|
| key | DefaultMetadataProperties | اسم المفتاح. |
| value | XmpValue | القيمة التي ستتم إضافتها. |
Examples
PdfXmpMetadata xmp = new PdfXmpMetadata();
xmp.BindPdf("input.pdf");
xmp.Add(DefaultMetadataProperties.Nickname, "name1");
xmp.Save(TestSettings.GetOutputFile("XMP_AddedValue.pdf"));
See Also
- enum DefaultMetadataProperties
- class XmpValue
- class PdfXmpMetadata
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
Add(XmpPdfAExtensionObject, string, string, string)
تضيف حقل امتداد إلى البيانات الوصفية.
public void Add(XmpPdfAExtensionObject xmpPdfAExtensionObject, string namespacePrefix,
string namespaceUri, string schemaDescription)
| Parameter | Type | Description |
|---|---|---|
| xmpPdfAExtensionObject | XmpPdfAExtensionObject | كائن امتداد PDF لإضافته. |
| namespacePrefix | String | بادئة المخطط. |
| namespaceUri | String | URI مساحة الأسماء للمخطط. |
| schemaDescription | String | الوصف الاختياري للمخطط. |
See Also
- class XmpPdfAExtensionObject
- class PdfXmpMetadata
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
Add(string, XmpValue)
تضيف عنصرًا جديدًا إلى كائن القاموس.
public void Add(string key, XmpValue value)
| Parameter | Type | Description |
|---|---|---|
| key | String | مفتاح العنصر الجديد. |
| value | XmpValue | قيمة العنصر. |
Examples
PdfXmpMetadata xmp = new PdfXmpMetadata();
xmp.BindPdf("input.pdf");
xmp.Add("xmp:Nickname", "Nickname1");
See Also
- class XmpValue
- class PdfXmpMetadata
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
Add(string, object)
تضيف عنصرًا جديدًا إلى كائن القاموس.
public void Add(string key, object value)
| Parameter | Type | Description |
|---|---|---|
| key | String | مفتاح العنصر الجديد. |
| value | Object | قيمة العنصر. |
See Also
- class PdfXmpMetadata
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
Add(KeyValuePair<string, XmpValue>)
تضيف زوجًا مع مفتاح وقيمة إلى القاموس.
public void Add(KeyValuePair<string, XmpValue> item)
| Parameter | Type | Description |
|---|---|---|
| item | KeyValuePair`2 | العنصر الذي سيتم إضافته. |
See Also
- class XmpValue
- class PdfXmpMetadata
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF