Click or drag to resize

PdfDictionaryCreate(PdfDictionaryEntry) 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.11.26
Syntax
public static PdfDictionary Create(
	params PdfDictionaryEntry[] collection
)

Parameters

collection  PdfDictionaryEntry
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