[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.TryGetValue

TryGetValue Method

TryGetValue(IPdfDict, PdfName, out IPdfObject)

Tries to get a value with specified key. The method does not perform any processing of the value and returns it as is.

Declaration
public static bool TryGetValue(this IPdfDict dict, PdfName key, out IPdfObject value)
Public Shared Function TryGetValue(dict As IPdfDict, key As PdfName, ByRef value As IPdfObject) As Boolean
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key of the value.

IPdfObject value

OUT: The value.

Returns
Type Description
bool

true if value exists, false otherwise.