Table of Contents

Class PdfAcroField.PdfAcroFieldCollection

Namespace
PdfSharp.Pdf.AcroForms
Assembly
PdfSharp.dll

Holds a collection of interactive fields.

public sealed class PdfAcroField.PdfAcroFieldCollection : PdfArray, ICloneable, IEnumerable<PdfItem>, IEnumerable
Inheritance
PdfAcroField.PdfAcroFieldCollection
Implements
Inherited Members

Properties

Count

Gets the number of elements in the array.

public int Count { get; }

Property Value

int

DescendantNames

Gets an array of all descendant names.

public string[] DescendantNames { get; }

Property Value

string[]

this[int]

Gets a field from the collection. For your convenience an instance of a derived class like PdfTextField or PdfCheckBox is returned if PDFsharp can guess the actual type of the dictionary. If the actual type cannot be guessed by PDFsharp the function returns an instance of PdfGenericField.

public PdfAcroField this[int index] { get; }

Parameters

index int

Property Value

PdfAcroField

this[string]

Gets the field with the specified name.

public PdfAcroField? this[string name] { get; }

Parameters

name string

Property Value

PdfAcroField

Names

Gets the names of all fields in the collection.

public string[] Names { get; }

Property Value

string[]