Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictExt Class / SetString Method
The current dictionary.
The key identifying the value.
The value to set.
The default value.

In This Topic
    SetString Method
    In This Topic
    Sets the String value associated with the specified key. If the value is null or is equal to defValue, removes the key from the dictionary. Note! The method converts a System.String to the PdfString.
    Syntax
    'Declaration
     
    Public Shared Sub SetString( _
       ByVal dict As IPdfDict, _
       ByVal key As PdfName, _
       ByVal value As System.String, _
       ByVal defValue As System.String _
    ) 
    public static void SetString( 
       IPdfDict dict,
       PdfName key,
       System.string value,
       System.string defValue
    )

    Parameters

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