[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.AcroForms.FieldCollection

Class FieldCollection

Namespace
GrapeCity.Documents.Pdf.AcroForms
Assembly
GcDocs.Pdf.dll

Represents a collection of Field objects.

public class FieldCollection : OwnedCollection<Field>, IList<Field>, ICollection<Field>, IReadOnlyList<Field>, IReadOnlyCollection<Field>, IEnumerable<Field>, IOwnedObject, IList, ICollection, IEnumerable
Inheritance
object
System.Collections.ObjectModel.Collection<T><Field>
FieldCollection
Implements
System.Collections.Generic.IList<T><Field>
System.Collections.Generic.ICollection<T><Field>
System.Collections.Generic.IReadOnlyList<T><Field>
System.Collections.Generic.IReadOnlyCollection<T><Field>
System.Collections.Generic.IEnumerable<T><Field>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Collections.ObjectModel.Collection<GrapeCity.Documents.Pdf.AcroForms.Field>.Add(GrapeCity.Documents.Pdf.AcroForms.Field)
System.Collections.ObjectModel.Collection<GrapeCity.Documents.Pdf.AcroForms.Field>.Clear()
System.Collections.ObjectModel.Collection<GrapeCity.Documents.Pdf.AcroForms.Field>.CopyTo(GrapeCity.Documents.Pdf.AcroForms.Field[], int)
System.Collections.ObjectModel.Collection<GrapeCity.Documents.Pdf.AcroForms.Field>.Contains(GrapeCity.Documents.Pdf.AcroForms.Field)
System.Collections.ObjectModel.Collection<GrapeCity.Documents.Pdf.AcroForms.Field>.GetEnumerator()
System.Collections.ObjectModel.Collection<GrapeCity.Documents.Pdf.AcroForms.Field>.IndexOf(GrapeCity.Documents.Pdf.AcroForms.Field)
System.Collections.ObjectModel.Collection<GrapeCity.Documents.Pdf.AcroForms.Field>.Insert(int, GrapeCity.Documents.Pdf.AcroForms.Field)
System.Collections.ObjectModel.Collection<GrapeCity.Documents.Pdf.AcroForms.Field>.Remove(GrapeCity.Documents.Pdf.AcroForms.Field)
System.Collections.ObjectModel.Collection<GrapeCity.Documents.Pdf.AcroForms.Field>.RemoveAt(int)
System.Collections.ObjectModel.Collection<GrapeCity.Documents.Pdf.AcroForms.Field>.Count
System.Collections.ObjectModel.Collection<GrapeCity.Documents.Pdf.AcroForms.Field>.Items
System.Collections.ObjectModel.Collection<GrapeCity.Documents.Pdf.AcroForms.Field>.this[int]
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

AcroForm

Gets the AcroForm object.

public AcroForm AcroForm { get; }

Property Value

AcroForm

Doc

Gets the GcPdfDocument object that owns this collection.

public GcPdfDocument Doc { get; }

Property Value

GcPdfDocument

Field

Gets the Field owning this collection.

public Field Field { get; }

Property Value

Field

HasSignatures

Gets a value indicating whether collection contains Signature fields.

public bool HasSignatures { get; }

Property Value

bool

this[string]

Gets the Field with specified name, throws an exception if field not found.

public Field this[string fieldName] { get; }

Parameters

fieldName string

The field's name.

Property Value

Field

Returns the field with specified name.

Owner

Gets the PdfDictWrapper object that owns this collection.

public PdfDictWrapper Owner { get; }

Property Value

PdfDictWrapper

Methods

ClearItems()

protected override void ClearItems()

FindByName(string)

Searches Field with specified name, search is case sensitive.

public Field FindByName(string fieldName)

Parameters

fieldName string

The field's name.

Returns

Field

Returns found Field or null if not found.

InsertItem(int, Field)

protected override void InsertItem(int index, Field item)

Parameters

index int
item Field

RemoveItem(int)

protected override void RemoveItem(int index)

Parameters

index int

SetItem(int, Field)

protected override void SetItem(int index, Field item)

Parameters

index int
item Field