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

In This Topic
    SetPdfStringBytes Method (IPdfDictExt)
    In This Topic
    Sets the IPdfString associated with the specified key to the specified value. If the value is a null reference (Nothing in Visual Basic), removes the key from the dictionary. Returns the created PdfString.
    Syntax
    'Declaration
     
    Public Shared Function SetPdfStringBytes( _
       ByVal dict As IPdfDict, _
       ByVal key As PdfName, _
       ByVal value() As System.Byte _
    ) As PdfString
    public static PdfString SetPdfStringBytes( 
       IPdfDict dict,
       PdfName key,
       System.byte[] value
    )

    Parameters

    dict
    The current dictionary.
    key
    The key identifying the string.
    value
    The value to set.

    Return Value

    The PdfString that was created and set.
    See Also