[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.GetDouble

GetDouble Method

GetDouble(IPdfDict, PdfName, double?)

Gets the nullable Double value associated with the specified key. If the value does not exist or cannot be converted to a Double, returns defValue (which can be null).

Declaration
public static double? GetDouble(this IPdfDict dict, PdfName key, double? defValue)
Public Shared Function GetDouble(dict As IPdfDict, key As PdfName, defValue As Double?) As Double?
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key identifying the value.

double? defValue

The default value.

Returns
Type Description
double?

The value associated with the specified key, or defValue.