[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.SetInt

SetInt Method

SetInt(IPdfDict, PdfName, int?, int?)

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

The current dictionary.

PdfName key

The key identifying the value.

int? value

The value to set.

int? defValue

The default value.