public final class PdfPackage extends XmpPackage
Represents Adobe PDF namespace.
namespaceUri, prefix, properties
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.
|
String |
getKeywords()
Gets keywords.
|
String |
getPdfVersion()
Gets PDF file version.
|
String |
getProducer()
Gets the name of the tool that created the PDF document.
|
boolean |
isTrapped()
True when the document has been trapped.
|
void |
setKeywords(String value)
Sets keywords.
|
void |
setPdfVersion(String value)
Sets PDF file version.
|
void |
setProducer(String value)
Sets the name of the tool that created the PDF document.
|
void |
setTrapped(boolean value)
True when the document has been trapped.
|
addValue, addValue, addValue, clear, containsKey, getGenericArray, getKeys, getKeyValueAsXml, getLangAlt, getNamespaceUri, getNodeType, getPrefix, getReal, getString, getStringArray, getXmlNamespace, getXmlValue, readByXmpKey, remove, setArray, setBoolValue, setDateValue, setIntValue, setLangAlt, setNullableInt, setRealValue, setStingArray, setTextValue, setXmpComplexTypeValue, setXmpTypeValue, setXmpValue
public PdfPackage()
Initializes a new instance of the PdfPackage
class.
public final String getKeywords()
Gets keywords.
public final void setKeywords(String value)
Sets keywords.
value
- Keywords.public final String getPdfVersion()
Gets PDF file version. For example, 1.0, 1.3 and so on.
public final void setPdfVersion(String value)
Sets PDF file version. For example, 1.0, 1.3 and so on.
value
- The PDF version.public final String getProducer()
Gets the name of the tool that created the PDF document.
public final void setProducer(String value)
Sets the name of the tool that created the PDF document.
value
- The producer.public final boolean isTrapped()
True when the document has been trapped.
true
if PDF is trapped; otherwise, false
.public final void setTrapped(boolean value)
True when the document has been trapped.
public void addValue(String key, String value)
Adds string property.
addValue
in class XmpPackage
key
- PDF schema key.value
- String value.ArgumentNullException
- PDF property could not be null.Copyright © 2018. All rights reserved.