Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictExt Class / GetInt Method / GetInt(IPdfDict,PdfName,Int32) Method
The current dictionary.
The key identifying the value.
The default value.

In This Topic
    GetInt(IPdfDict,PdfName,Int32) Method
    In This Topic
    Gets the nullable Integer value associated with the specified key. If the value does not exist or cannot be converted to an Integer, returns defValue.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetInt( _
       ByVal dict As IPdfDict, _
       ByVal key As PdfName, _
       ByVal defValue As System.Integer _
    ) As System.Integer
    public static System.int GetInt( 
       IPdfDict dict,
       PdfName key,
       System.int defValue
    )

    Parameters

    dict
    The current dictionary.
    key
    The key identifying the value.
    defValue
    The default value.

    Return Value

    The value associated with the specified key, or defValue.
    See Also