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.ObjectsAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.10.30
Syntax public static PdfDictionary Create(
IEnumerable<PdfDictionaryEntry> collection
)
Public Shared Function Create (
collection As IEnumerable(Of PdfDictionaryEntry)
) As PdfDictionary
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 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