Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictHolderExt Class / SetBool 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
    SetBool Method
    In This Topic
    Sets a Boolean value associated with the specified key, or removes the existing key if value is equal to defValue.
    Syntax
    'Declaration
     
    Public Shared Sub SetBool( _
       ByVal pdh As IPdfDictHolder, _
       ByVal key As System.String, _
       ByVal value As System.Boolean, _
       ByVal defValue As System.Boolean _
    ) 
    public static void SetBool( 
       IPdfDictHolder pdh,
       System.string key,
       System.bool value,
       System.bool 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