[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.SetFloat

SetFloat Method

SetFloat(IPdfDict, PdfName, float?, float?)

Sets the float 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 SetFloat(this IPdfDict dict, PdfName key, float? value, float? defValue)
Public Shared Sub SetFloat(dict As IPdfDict, key As PdfName, value As Single?, defValue As Single?)
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key identifying the value.

float? value

The value to set.

float? defValue

The default value.