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

In This Topic
    Set(IPdfDict,PdfName,IPdfName,IPdfName) Method
    In This Topic
    Sets the PDF Name value associated with the specified key. If the value is null or is equal to defValue, removes the key from the dictionary.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub Set( _
       ByVal dict As IPdfDict, _
       ByVal key As PdfName, _
       ByVal value As IPdfName, _
       ByVal defValue As IPdfName _
    ) 
    public static void Set( 
       IPdfDict dict,
       PdfName key,
       IPdfName value,
       IPdfName defValue
    )

    Parameters

    dict
    The current dictionary.
    key
    The key identifying the value.
    value
    The value to set.
    defValue
    The default value.
    See Also