public final class PdfPackage extends XmpPackage
Represents Adobe Pdf namespace.
| Constructor and Description |
|---|
PdfPackage()
Initializes a new instance of the
PdfPackage class. |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(String key,
String value)
Adds string property.
|
void |
setKeywords(String keywords)
Sets the keywords.
|
void |
setPdfVersion(String version)
Sets the PDF version.
|
void |
setProducer(String producer)
Sets the name of the tool that created Pdf.
|
void |
setTrapped(boolean isTrapped)
Sets the trapped.
|
clear, containsKey, get_Item, getKeys, getNamespaceUri, getPrefix, getXmlNamespace, getXmlValue, iterator, remove, set_Item, setValue, setXmpTypeValueequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic PdfPackage()
Initializes a new instance of the PdfPackage class.
public void addValue(String key, String value)
Adds string property.
addValue in class XmpPackagekey - The string representation of key that is identified with added value.value - The string value.com.aspose.ms.System.ArgumentNullException - key;Pdf property could not be nullpublic void setKeywords(String keywords)
Sets the keywords.
keywords - The keywords.public void setPdfVersion(String version)
Sets the PDF version.
version - Pdf version, for example: 1.0, 1.3 etc.public void setProducer(String producer)
Sets the name of the tool that created Pdf.
producer - The producer name.public void setTrapped(boolean isTrapped)
Sets the trapped.
isTrapped - if set to true the document has been trapped.Copyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.