Click or drag to resize

PdfDictionaryRemove Method

Removes the value with the specified key from the PdfDictionary.

Namespace: SautinSoft.Pdf.Objects
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax
public bool Remove(
	PdfName key
)

Parameters

key  PdfName
The key of the entry to remove.

Return Value

Boolean
if the key is found and the entry removed; otherwise, . This method returns if key is not found in the PdfDictionary.

Implements

IDictionaryTKey, TValueRemove(TKey)
Exceptions
ExceptionCondition
InvalidOperationExceptionThe current PdfDictionary is read-only (IsReadOnly returns ).
ArgumentNullExceptionkey is .
See Also