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 or sets keywords.
|
String |
getPdfVersion()
Gets or sets PDF file version.
|
String |
getProducer()
Gets or sets the name of the tool that created the PDF document.
|
boolean |
isTrapped()
True when the document has been trapped.
|
void |
setKeywords(String value)
Gets or sets keywords.
|
void |
setPdfVersion(String value)
Gets or sets PDF file version.
|
void |
setProducer(String value)
Gets or 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 or sets keywords.
Value: Keywords.public final void setKeywords(String value)
Gets or sets keywords.
Value: Keywords.public final String getPdfVersion()
Gets or sets PDF file version. For example, 1.0, 1.3 and so on.
Value: The PDF version.public final void setPdfVersion(String value)
Gets or sets PDF file version. For example, 1.0, 1.3 and so on.
Value: The PDF version.public final String getProducer()
Gets or sets the name of the tool that created the PDF document.
Value: The producer.public final void setProducer(String value)
Gets or 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.
Value:true
if PDF is trapped; otherwise, false
.public final void setTrapped(boolean value)
True when the document has been trapped.
Value:true
if PDF is trapped; otherwise, false
.public void addValue(String key, String value)
Adds string property.
addValue
in class XmpPackage
key
- PDF schema key.value
- String value.com.aspose.ms.System.ArgumentNullException
- PDF property could not be null.Copyright © 2017. All rights reserved.