[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.TryGetDouble

TryGetDouble Method

TryGetDouble(IPdfDict, PdfName, out double)

Tries to get the Double value associated with the specified key. If the value does not exist or cannot be converted to a Double, returns false.

Declaration
public static bool TryGetDouble(this IPdfDict dict, PdfName key, out double value)
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key identifying the value.

double value

OUT. When this method returns, contains the Double value.

Returns
Type Description
bool

true if value exists; otherwise, false.