Click or drag to resize

PdfDictionaryRemove Method

Removes the value with the specified key from the PdfDictionary.

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

Parameters

key
Type: GemBox.Pdf.ObjectsPdfName
The key of the entry to remove.

Return Value

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