GetFormFieldRichTextString

Campi modulo

Descrizione

Recupera la stringa di testo RTF (RV) o di stile predefinito (DS) del campo modulo specificato mediante la chiave indicata. Il formato del valore restituito è definito nella specifica PDF nella sezione intitolata "Field Dictionaries"

Sintassi

Delphi

Function TPDFlib.GetFormFieldRichTextString(Index: Integer; Const Key: WideString): WideString;

ActiveX

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

DLL

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

Parametri

IndexIndice del campo modulo richiesto. Il primo campo modulo ha indice 1
KeyValore Key da restituire. "RV" = restituisce la stringa di testo RTF "DS" = restituisce la stringa dello stile predefinito

Valori restituiti

Restituisce la stringa di testo formattato memorizzata sotto Key per il campo, o una stringa vuota quando Index non è valido o la chiave non porta un valore