Click or drag to resize

PdfDictionaryTryGetValue Method

Gets the value associated with the specified key.

Namespace: SautinSoft.Pdf.Objects
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax
public bool TryGetValue(
	PdfName key,
	out PdfBasicObject value
)

Parameters

key  PdfName
The key of the value to get.
value  PdfBasicObject
When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the Null value.

Return Value

Boolean
if the PdfDictionary contains an entry with the specified key; otherwise, .

Implements

IDictionaryTKey, TValueTryGetValue(TKey, TValue)
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is .
See Also