Click or drag to resize

PdfDictionaryCreate Method (PdfDictionaryEntry)

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:  GemBox.Pdf.Objects
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 13.0.35.1000
Syntax
public static PdfDictionary Create(
	params PdfDictionaryEntry[] collection
)

Parameters

collection
Type: GemBox.Pdf.ObjectsPdfDictionaryEntry
The collection whose entries are copied to the new dictionary.

Return Value

Type: 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