[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.SetDouble

SetDouble Method

SetDouble(IPdfDict, PdfName, double?, double?)

Sets the Double value associated with the specified key. If the value is null or is equal to defValue, removes the key from the dictionary.

Declaration
public static void SetDouble(this IPdfDict dict, PdfName key, double? value, double? defValue)
Public Shared Sub SetDouble(dict As IPdfDict, key As PdfName, value As Double?, defValue As Double?)
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key identifying the value.

double? value

The value to set.

double? defValue

The default value.