Table of Contents

Class PdfDeveloperExtension

Namespace
iTextSharp.text.pdf
Assembly
iTextSharp.LGPLv2.Core.dll

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 (such as this one) that PDF-consuming applications use to interpret the extensions. @since 2.1.6

public class PdfDeveloperExtension
Inheritance
PdfDeveloperExtension
Inherited Members

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 baseverion.

Fields

Adobe17Extensionlevel3

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

public static readonly PdfDeveloperExtension Adobe17Extensionlevel3

Field Value

PdfDeveloperExtension

baseversion

The base version.

protected PdfName baseversion

Field Value

PdfName

extensionLevel

The extension level within the baseversion.

protected int extensionLevel

Field Value

int

prefix

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

protected PdfName prefix

Field Value

PdfName

Properties

Baseversion

Gets the baseversion name.

public PdfName Baseversion { get; }

Property Value

PdfName

a PdfName

ExtensionLevel

Gets the extension level within the baseversion.

public int ExtensionLevel { get; }

Property Value

int

an integer

Prefix

Gets the prefix name.

public PdfName Prefix { get; }

Property Value

PdfName

a PdfName

Methods

GetDeveloperExtensions()

Generations the developer extension dictionary corresponding with the prefix.

public PdfDictionary GetDeveloperExtensions()

Returns

PdfDictionary

a PdfDictionary