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.ObjectsAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.11.26
Syntax public static PdfDictionary Create(
params PdfDictionaryEntry[] collection
)
Public Shared Function Create (
ParamArray collection As PdfDictionaryEntry()
) As PdfDictionary
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 Exception | Condition |
---|
ArgumentNullException | collection is or one of the collection's entries has key or value. |
ArgumentException | One of the collection's entries value is already contained in some other
PdfBasicObject or is PdfStream or is the current
PdfDictionary. |
See Also