Table of Contents

Class PdfPackage

Namespace
Aspose.Imaging.Xmp.Schemas.Pdf
Assembly
Aspose.Imaging.dll

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 string

The string representation of key that is identified with added value.

value string

The string value.

Exceptions

ArgumentNullException

key;Pdf property could not be null

SetKeywords(string)

Sets the keywords.

public void SetKeywords(string keywords)

Parameters

keywords string

The keywords.

SetPdfVersion(string)

Sets the PDF version.

public void SetPdfVersion(string version)

Parameters

version string

Pdf 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 string

The producer name.

SetTrapped(bool)

Sets the trapped.

public void SetTrapped(bool isTrapped)

Parameters

isTrapped bool

if set to true the document has been trapped.