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
Fields
CREATIONDATE
A possible type of collection field.
public const int CREATIONDATE = 6
Field Value
DATE
A possible type of collection field.
public const int DATE = 1
Field Value
DESC
A possible type of collection field.
public const int DESC = 4
Field Value
FILENAME
A possible type of collection field.
public const int FILENAME = 3
Field Value
FieldType
The type of the PDF collection field.
protected int FieldType
Field Value
MODDATE
A possible type of collection field.
public const int MODDATE = 5
Field Value
NUMBER
A possible type of collection field.
public const int NUMBER = 2
Field Value
SIZE
A possible type of collection field.
public const int SIZE = 7
Field Value
TEXT
A possible type of collection field.
public const int TEXT = 0
Field Value
Properties
Editable
Indication if the field value should be editable in the viewer.
public bool Editable { set; }
Property Value
Order
The relative order of the field name. Fields are sorted in ascending order.
public int Order { set; }
Property Value
Visible
Sets the initial visibility of the field.
public bool Visible { set; }
Property Value
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
IsCollectionItem()
Checks if the type of the field is suitable for a Collection Item.
public bool IsCollectionItem()