Table of Contents

Class PdfDeveloperExtension

Namespace
iText.Kernel.Pdf
Assembly
itext.kernel.dll

Beginning with BaseVersion 1.7, the extensions dictionary lets developers designate that a given document contains extensions to PDF.

public class PdfDeveloperExtension
Inheritance
PdfDeveloperExtension
Inherited Members

Remarks

Beginning with BaseVersion 1.7, the extensions dictionary lets developers designate that a given document contains extensions to PDF. The presence of the extension dictionary in a document indicates that it may contain developer-specific PDF properties that extend a particular base version of the PDF specification. The extensions dictionary enables developers to identify their own extensions relative to a base version of PDF. Additionally, the convention identifies extension levels relative to that base version. The intent of this dictionary is to enable developers of PDF-producing applications to identify company-specific specifications that PDF-consuming applications use to interpret the extensions.

Constructors

PdfDeveloperExtension(PdfName, PdfName, int)

Creates a PdfDeveloperExtension object.

public PdfDeveloperExtension(PdfName prefix, PdfName baseVersion, int extensionLevel)

Parameters

prefix PdfName

the prefix referring to the developer

baseVersion PdfName

the number of the base version

extensionLevel int

the extension level within the base version

PdfDeveloperExtension(PdfName, PdfName, int, string, string, bool)

Creates a PdfDeveloperExtension object.

public PdfDeveloperExtension(PdfName prefix, PdfName baseVersion, int extensionLevel, string url, string extensionRevision, bool isMultiValued)

Parameters

prefix PdfName

the prefix referring to the developer

baseVersion PdfName

the number of the base version

extensionLevel int

the extension level within the base version

url string

the URL specifying where to find more information about the extension

extensionRevision string

the extension revision identifier

isMultiValued bool

flag indicating whether the extension prefix can have multiple values

Fields

ADOBE_1_7_EXTENSIONLEVEL3

An instance of this class for Adobe 1.7 Extension level 3.

public static readonly PdfDeveloperExtension ADOBE_1_7_EXTENSIONLEVEL3

Field Value

PdfDeveloperExtension

ESIC_1_7_EXTENSIONLEVEL2

An instance of this class for ETSI 1.7 Extension level 2.

public static readonly PdfDeveloperExtension ESIC_1_7_EXTENSIONLEVEL2

Field Value

PdfDeveloperExtension

ESIC_1_7_EXTENSIONLEVEL5

An instance of this class for ETSI 1.7 Extension level 5.

public static readonly PdfDeveloperExtension ESIC_1_7_EXTENSIONLEVEL5

Field Value

PdfDeveloperExtension

ISO_32001

An instance of this class for ISO/TS 32001.

public static readonly PdfDeveloperExtension ISO_32001

Field Value

PdfDeveloperExtension

ISO_32002

An instance of this class for ISO/TS 32002.

public static readonly PdfDeveloperExtension ISO_32002

Field Value

PdfDeveloperExtension

baseVersion

The base version.

protected PdfName baseVersion

Field Value

PdfName

extensionLevel

The extension level within the base version.

protected int extensionLevel

Field Value

int

prefix

The prefix used in the Extensions dictionary added to the Catalog.

protected PdfName prefix

Field Value

PdfName

Methods

GetBaseVersion()

Gets the baseVersion name.

public virtual PdfName GetBaseVersion()

Returns

PdfName

a PdfName

GetDeveloperExtensions()

Generations the developer extension dictionary corresponding with the prefix.

public virtual PdfDictionary GetDeveloperExtensions()

Returns

PdfDictionary

a PdfDictionary

GetExtensionLevel()

Gets the extension level within the baseVersion.

public virtual int GetExtensionLevel()

Returns

int

an integer

GetPrefix()

Gets the prefix name.

public virtual PdfName GetPrefix()

Returns

PdfName

a PdfName

IsMultiValued()

Indicates whether the extension prefix is multivalued (ISO 32000-2:2020).

public virtual bool IsMultiValued()

Returns

bool

true if multivalued