XmpPdfPackage
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage
public final class XmpPdfPackage extends XmpPackage
Specifies properties used with Adobe PDF documents.
| Constructor | Description |
|---|---|
| XmpPdfPackage() | Initializes a new instance of the XmpPdfPackage class. |
| Method | Description |
|---|---|
| getKeywords() | Gets the keywords. |
| setKeywords(String value) | Sets the keywords. |
| getPdfVersion() | Gets the PDF file version. |
| setPdfVersion(String value) | Sets the PDF file version. |
| getProducer() | Gets the name of the tool that created the PDF document. |
| setProducer(String value) | Sets the name of the tool that created the PDF document. |
| isTrapped() | Gets a value indicating whether the document has been trapped. |
| setTrapped(Boolean value) | Sets a value indicating whether the document has been trapped. |
| set(String name, String value) | Sets string property. |
public XmpPdfPackage()
Initializes a new instance of the XmpPdfPackage class.
public final String getKeywords()
Gets the keywords.
Returns: java.lang.String - The keywords.
public final void setKeywords(String value)
Sets the keywords.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The keywords. |
public final String getPdfVersion()
Gets the PDF file version. For example, 1.0, 1.3 and so on.
Returns: java.lang.String - The PDF version.
public final void setPdfVersion(String value)
Sets the PDF file version. For example, 1.0, 1.3 and so on.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The PDF version. |
public final String getProducer()
Gets the name of the tool that created the PDF document.
Returns: java.lang.String - The producer.
public final void setProducer(String value)
Sets the name of the tool that created the PDF document.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The producer. |
public final Boolean isTrapped()
Gets a value indicating whether the document has been trapped.
Returns: java.lang.Boolean - true if the document has been trapped; otherwise, false .
public final void setTrapped(Boolean value)
Sets a value indicating whether the document has been trapped.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Boolean | true if the document has been trapped; otherwise, false . |
public void set(String name, String value)
Sets string property.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | XMP metadata property name. |
| value | java.lang.String | XMP metadata property value. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.