PeachDrawing.PDF.PdfComposerPage

PdfComposerPage.SetCustomString(string, string, string) Method

Sets a custom string entry in a dictionary associated with the page.

public void SetCustomString(string dictionaryKey, string key, string value);

Parameters

dictionaryKey System.String

the PDF name of the dictionary entry in the page, including its leading slash

key System.String

the PDF name of the string entry in the dictionary, including its leading slash

value System.String

the string value to store

Remarks

The dictionary is created as an indirect object on first use. Another call with the same dictionaryKey adds an entry to that dictionary; setting the same key again replaces its value.