Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictHolderExt Class / SetInt Method
The current PDF dictionary holder.
The key of the value to set or remove.
The value to set.
The default value.

In This Topic
    SetInt Method
    In This Topic
    Sets an integer value associated with the specified key, or removes the existing key if value is equal to defValue.
    Syntax
    'Declaration
     
    Public Shared Sub SetInt( _
       ByVal pdh As IPdfDictHolder, _
       ByVal key As System.String, _
       ByVal value As System.Integer, _
       ByVal defValue As System.Integer _
    ) 
    public static void SetInt( 
       IPdfDictHolder pdh,
       System.string key,
       System.int value,
       System.int defValue
    )

    Parameters

    pdh
    The current PDF dictionary holder.
    key
    The key of the value to set or remove.
    value
    The value to set.
    defValue
    The default value.
    See Also