Class PdfPackage
Represents Adobe Pdf namespace.
public sealed class PdfPackage : XmpPackage, IXmlValue, IEnumerable<KeyValuePair<string, object>>, IEnumerable
- Inheritance
-
PdfPackage
- Implements
- Inherited Members
Constructors
PdfPackage()
public PdfPackage()
Methods
AddValue(string, string)
Adds string property.
public override void AddValue(string key, string value)
Parameters
key
stringThe string representation of key that is identified with added value.
value
stringThe string value.
Exceptions
- ArgumentNullException
key;Pdf property could not be null
SetKeywords(string)
Sets the keywords.
public void SetKeywords(string keywords)
Parameters
keywords
stringThe keywords.
SetPdfVersion(string)
Sets the PDF version.
public void SetPdfVersion(string version)
Parameters
version
stringPdf version, for example: 1.0, 1.3 etc.
SetProducer(string)
Sets the name of the tool that created Pdf.
public void SetProducer(string producer)
Parameters
producer
stringThe producer name.
SetTrapped(bool)
Sets the trapped.
public void SetTrapped(bool isTrapped)
Parameters
isTrapped
boolif set to
true
the document has been trapped.