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
public AcroForm AcroForm { get; }
Property Value
- AcroForm
public GcPdfDocument Doc { get; }
Property Value
- GcPdfDocument
Gets the Field owning this collection.
public Field Field { get; }
Property Value
- Field
Gets a value indicating whether collection contains Signature fields.
public bool HasSignatures { get; }
Property Value
- bool
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.
public PdfDictWrapper Owner { get; }
Property Value
- PdfDictWrapper
Methods
protected override void ClearItems()
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.
protected override void InsertItem(int index, Field item)
Parameters
index
int
item
Field
protected override void RemoveItem(int index)
Parameters
index
int
protected override void SetItem(int index, Field item)
Parameters
index
int
item
Field