GetFormFieldRichTextString

Form fields

Description

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 TPDFlib.GetFormFieldRichTextString(Index: Integer; Const Key: WideString): WideString;

ActiveX

Function PDFlib::GetFormFieldRichTextString(Index As Long, Key As String) As String

DLL

wchar_t * DLGetFormFieldRichTextString(int InstanceID, int Index, wchar_t * 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