ImageGear v26.5 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDFBasDict Class / PutBool Method
The key whose value is set. See the PDF Reference to obtain the names of keys in dictionary objects that are part of standard PDF, such as annotations or page objects.
If true, creates the key value as an indirect object. If false, creates the key value as a direct object.
The boolean value to set.




In This Topic
    PutBool Method (ImGearPDFBasDict)
    In This Topic
    Sets the Boolean value of a dictionary key, adding the key to the dictionary if it is not already present.
    Syntax
    'Declaration
     
    Public Sub PutBool( _
       ByVal key As ImGearPDFAtom, _
       ByVal isIndirect As Boolean, _
       ByVal value As Boolean _
    ) 
    'Usage
     
    Dim instance As ImGearPDFBasDict
    Dim key As ImGearPDFAtom
    Dim isIndirect As Boolean
    Dim value As Boolean
     
    instance.PutBool(key, isIndirect, value)
    public void PutBool( 
       ImGearPDFAtom key,
       bool isIndirect,
       bool value
    )
    public: void PutBool( 
       ImGearPDFAtom* key,
       bool isIndirect,
       bool value
    ) 
    public:
    void PutBool( 
       ImGearPDFAtom^ key,
       bool isIndirect,
       bool value
    ) 

    Parameters

    key
    The key whose value is set. See the PDF Reference to obtain the names of keys in dictionary objects that are part of standard PDF, such as annotations or page objects.
    isIndirect
    If true, creates the key value as an indirect object. If false, creates the key value as a direct object.
    value
    The boolean value to set.
    See Also