[]
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.
public void AddDictEntryString(PdfName key, string value)
| Type | Name | Description |
|---|---|---|
| PdfName | key | |
| string | value |
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.
public void AddDictEntryString(PdfName key, IList<byte> value)
| Type | Name | Description |
|---|---|---|
| PdfName | key | |
| IList<byte> | value |
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.
public void AddDictEntryString(PdfName key, IList<byte> value, bool encrypt = true)
| Type | Name | Description |
|---|---|---|
| PdfName | key | |
| IList<byte> | value | |
| bool | encrypt |