PdfPackage
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.imaging.xmp.XmpPackage
public final class PdfPackage extends XmpPackage
Represents Adobe Pdf namespace.
Constructors
Constructor | Description |
---|---|
PdfPackage() | Initializes a new instance of the PdfPackage class. |
Methods
Method | Description |
---|---|
addValue(String key, String value) | Adds string property. |
setKeywords(String keywords) | Sets the keywords. |
setPdfVersion(String version) | Sets the PDF version. |
setProducer(String producer) | Sets the name of the tool that created Pdf. |
setTrapped(boolean isTrapped) | Sets the trapped. |
PdfPackage()
public PdfPackage()
Initializes a new instance of the PdfPackage
class.
addValue(String key, String value)
public void addValue(String key, String value)
Adds string property.
Parameters:
Parameter | Type | Description |
---|---|---|
key | java.lang.String | The string representation of key that is identified with added value. |
value | java.lang.String | The string value. |
setKeywords(String keywords)
public void setKeywords(String keywords)
Sets the keywords.
Parameters:
Parameter | Type | Description |
---|---|---|
keywords | java.lang.String | The keywords. |
setPdfVersion(String version)
public void setPdfVersion(String version)
Sets the PDF version.
Parameters:
Parameter | Type | Description |
---|---|---|
version | java.lang.String | Pdf version, for example: 1.0, 1.3 etc. |
setProducer(String producer)
public void setProducer(String producer)
Sets the name of the tool that created Pdf.
Parameters:
Parameter | Type | Description |
---|---|---|
producer | java.lang.String | The producer name. |
setTrapped(boolean isTrapped)
public void setTrapped(boolean isTrapped)
Sets the trapped.
Parameters:
Parameter | Type | Description |
---|---|---|
isTrapped | boolean | if set to true the document has been trapped. |