[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Writer.PdfStreamWriterBase.AddDictEntryString

AddDictEntryString Method

AddDictEntryString(PdfName, string)

Adds a dictionary entry with PDF string value. If string contains chars with code greater than 126 it encoded as unicode. The string is encrypted if an encryption specified for document.

Declaration
public void AddDictEntryString(PdfName key, string value)
Public Sub AddDictEntryString(key As PdfName, value As String)
Parameters
Type Name Description
PdfName key
string value

AddDictEntryString(PdfName, IList<byte>)

Adds string dict entry, string is written as PDF string i.e. like (BlaBla). If string contains chars with code greater than 126 it encoded as unicode. String is encoded if encoding specified for document.

Declaration
public void AddDictEntryString(PdfName key, IList<byte> value)
Public Sub AddDictEntryString(key As PdfName, value As IList(Of Byte))
Parameters
Type Name Description
PdfName key
IList<byte> value

AddDictEntryString(PdfName, IList<byte>, bool)

Adds a dictionary entry with PDF string value. If string contains chars with code greater than 126 it encoded as unicode. The string is encrypted if an encryption specified for document.

Declaration
public void AddDictEntryString(PdfName key, IList<byte> value, bool encrypt = true)
Public Sub AddDictEntryString(key As PdfName, value As IList(Of Byte), Optional encrypt As Boolean = True)
Parameters
Type Name Description
PdfName key
IList<byte> value
bool encrypt