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

In This Topic
    GetBool(IPdfDict,PdfName,Boolean) Method
    In This Topic
    Gets the Boolean value associated with the specified key. If the value does not exist or cannot be converted to a Boolean, returns defValue (which can be null).
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetBool( _
       ByVal dict As IPdfDict, _
       ByVal key As PdfName, _
       ByVal defValue As System.Boolean _
    ) As System.Boolean
    public static System.bool GetBool( 
       IPdfDict dict,
       PdfName key,
       System.bool 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 null.
    See Also