[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.SetPdfStringBytes

SetPdfStringBytes Method

SetPdfStringBytes(IPdfDict, PdfName, byte[])

Sets the IPdfString associated with the specified key to the specified value. If the value is null, removes the key from the dictionary. Returns the created PdfString.

Declaration
public static PdfString SetPdfStringBytes(this IPdfDict dict, PdfName key, byte[] value)
Public Shared Function SetPdfStringBytes(dict As IPdfDict, key As PdfName, value As Byte()) As PdfString
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key identifying the string.

byte[] value

The value to set.

Returns
Type Description
PdfString

The PdfString that was created and set.