Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictHolderExt Class / GetBool Method / GetBool(IPdfDictHolder,String,Boolean) Method
The current PDF dictionary holder.
The key of the value to get.
The default value.

In This Topic
    GetBool(IPdfDictHolder,String,Boolean) Method
    In This Topic
    Gets the Boolean value associated with the specified key.

    Gets defValue if the value does not exist or cannot be converted to a Boolean.

    Adds a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if the value cannot be converted to a Boolean.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetBool( _
       ByVal pdh As IPdfDictHolder, _
       ByVal key As System.String, _
       ByVal defValue As System.Boolean _
    ) As System.Boolean
    public static System.bool GetBool( 
       IPdfDictHolder pdh,
       System.string key,
       System.bool defValue
    )

    Parameters

    pdh
    The current PDF dictionary holder.
    key
    The key of the value to get.
    defValue
    The default value.

    Return Value

    The value associated with the specified key.
    See Also