Click or drag to resize

PdfDictionaryCreate(IEnumerablePdfDictionaryEntry) Method

Creates a new instance of the PdfDictionary class that contains entries copied from the specified collection and has sufficient capacity to accommodate the number of entries copied.

Namespace: SautinSoft.Pdf.Objects
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax
public static PdfDictionary Create(
	IEnumerable<PdfDictionaryEntry> collection
)

Parameters

collection  IEnumerablePdfDictionaryEntry
The collection whose entries are copied to the new dictionary.

Return Value

PdfDictionary
A new instance of the PdfDictionary class that contains entries copied from the specified collection.
Exceptions
ExceptionCondition
ArgumentNullExceptioncollection is or one of the collection's entries has key or value.
ArgumentExceptionOne of the collection's entries value is already contained in some other PdfBasicObject or is PdfStream or is the current PdfDictionary.
See Also