Click or drag to resize

PdfPortfolioFieldDictionary Class

Represents a collection of PdfPortfolioFields. Each PdfPortfolioField has a PdfName key chosen by the conforming writer, which shall be used to associate a field with data in a file or a Portfolio folder.
Inheritance Hierarchy
SystemObject
  SautinSoft.PdfPdfObject
    SautinSoft.PdfPdfCollection
      SautinSoft.PdfPdfCollectionKeyValuePairPdfName, PdfPortfolioField
        SautinSoft.Pdf.PortfoliosPdfPortfolioFieldDictionary

Namespace: SautinSoft.Pdf.Portfolios
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax
public sealed class PdfPortfolioFieldDictionary : PdfCollection<KeyValuePair<PdfName, PdfPortfolioField>>, 
	IList, ICollection, IEnumerable, IList<KeyValuePair<PdfName, PdfPortfolioField>>, 
	ICollection<KeyValuePair<PdfName, PdfPortfolioField>>, IEnumerable<KeyValuePair<PdfName, PdfPortfolioField>>

The PdfPortfolioFieldDictionary type exposes the following members.

Properties
 NameDescription
Public propertyCount Gets the number of elements contained in the PdfCollection.
(Inherited from PdfCollection)
Public propertyItemInt32 Gets or sets the element at the specified index.
(Inherited from PdfCollectionT)
Public propertyItemPdfName Gets or sets the PdfPortfolioField associated with the specified PdfName key.
Public propertyMetadata(Optional; PDF 1.4) A metadata stream containing metadata for the component.
(Inherited from PdfObject)
Top
Methods
 NameDescription
Public methodAdd(T) Adds an element to the end of the PdfCollectionT.
(Inherited from PdfCollectionT)
Public methodAdd(PdfPortfolioFieldDataType, String)

Adds a new PdfPortfolioField with the specified data type and name to the PdfPortfolioFieldDictionary.

Use the returned PdfName key to populate file field values and Portfolio folder field values and use the returned PdfPortfolioField value to customize it further.

Public methodClear Removes all elements from the PdfCollection.
(Inherited from PdfCollection)
Public methodContains(T) Determines whether an element is in the PdfCollectionT.
(Inherited from PdfCollectionT)
Public methodContains(PdfName) Determines whether the PdfPortfolioFieldDictionary contains the PdfPortfolioField with the specified PdfName key.
Public methodCopyTo Copies the entire PdfCollectionT to a compatible one-dimensional array, starting at the specified index of the target array.
(Inherited from PdfCollectionT)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetEnumerator Returns an enumerator that iterates through the PdfCollectionT.
(Inherited from PdfCollectionT)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOf Searches for the specified element and returns the zero-based index of the first occurrence within the entire PdfCollectionT.
(Inherited from PdfCollectionT)
Public methodInsert Inserts an element into the PdfCollectionT at the specified index.
(Inherited from PdfCollectionT)
Public methodRemove(T) Removes the first occurrence of a specific element from the PdfCollectionT.
(Inherited from PdfCollectionT)
Public methodRemove(PdfName) Removes the PdfPortfolioField with the specified key from the PdfPortfolioFieldDictionary.
Public methodRemoveAt Removes the element at the specified index of the PdfCollection.
(Inherited from PdfCollection)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetArray Gets the PdfArray that serves as a backing storage of the specified PdfCollection.
(Defined by PdfObjectExtensions)
Public Extension MethodGetArray Gets the PdfArray that serves as a backing storage of the specified PdfObject or if no PdfArray serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetOrAddArray Gets the PdfArray that serves as a backing storage of the specified PdfCollection.
(Defined by PdfObjectExtensions)
Public Extension MethodGetOrAddDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Top
See Also