Table of Contents

Class PdfCollectionField

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

@author blowagie

public class PdfCollectionField : PdfDictionary
Inheritance
PdfCollectionField
Inherited Members

Constructors

PdfCollectionField(string, int)

Creates a PdfCollectionField.

public PdfCollectionField(string name, int type)

Parameters

name string

the field name

type int

the field type

Fields

CREATIONDATE

A possible type of collection field.

public const int CREATIONDATE = 6

Field Value

int

DATE

A possible type of collection field.

public const int DATE = 1

Field Value

int

DESC

A possible type of collection field.

public const int DESC = 4

Field Value

int

FILENAME

A possible type of collection field.

public const int FILENAME = 3

Field Value

int

FieldType

The type of the PDF collection field.

protected int FieldType

Field Value

int

MODDATE

A possible type of collection field.

public const int MODDATE = 5

Field Value

int

NUMBER

A possible type of collection field.

public const int NUMBER = 2

Field Value

int

SIZE

A possible type of collection field.

public const int SIZE = 7

Field Value

int

TEXT

A possible type of collection field.

public const int TEXT = 0

Field Value

int

Properties

Editable

Indication if the field value should be editable in the viewer.

public bool Editable { set; }

Property Value

bool

Order

The relative order of the field name. Fields are sorted in ascending order.

public int Order { set; }

Property Value

int

Visible

Sets the initial visibility of the field.

public bool Visible { set; }

Property Value

bool

Methods

GetValue(string)

Returns a PdfObject that can be used as the value of a Collection Item.

public PdfObject GetValue(string v)

Parameters

v string

Returns

PdfObject

IsCollectionItem()

Checks if the type of the field is suitable for a Collection Item.

public bool IsCollectionItem()

Returns

bool