Click or drag to resize

PdfDictionaryTryGetValue Method

Gets the value associated with the specified key.

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

Parameters

key
Type: GemBox.Pdf.ObjectsPdfName
The key of the value to get.
value
Type: GemBox.Pdf.ObjectsPdfBasicObject
When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the Null value.

Return Value

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

Implements

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