GetFormFieldRichTextStringA

Form fields

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetFormFieldRichTextString and string arguments are interpreted using the current SetAnsiMode code page

Retrieves the rich text (RV) or default style (DS) string of the specified form field using the given key. The format of the return value is defined in the PDF Specification under the section titled "Field Dictionaries".

Syntax

Delphi

Function DLGetFormFieldRichTextStringA(InstanceID, Index: Integer; Key: PAnsiChar): PAnsiChar;

DLL

const char * DLGetFormFieldRichTextStringA(int InstanceID, int Index, const char * Key);

Parameters

IndexThe index of the required form field. The first form field has an index of 1
KeyThe Key value to return. "RV" = returns the rich text string "DS" = returns the default style string