SetFormFieldCaption
Formularfelder
Beschreibung
Legt die Beschriftung des Formularfelds fest. Dies gilt nur für Formularfelder vom Typ Schaltfläche, Kontrollkästchen und Optionsfeld (Radiobutton).
Syntax
Delphi
Function TPDFlib.SetFormFieldCaption(Index: Integer; Const NewCaption: WideString): Integer;
ActiveX
Function PDFlib::SetFormFieldCaption(Index As Long, NewCaption As String) As Long
DLL
int DLSetFormFieldCaption(int InstanceID, int Index, const wchar_t* NewCaption);
int DLSetFormFieldCaptionA(int InstanceID, int Index, const char* NewCaption);
Parameter
| Index | Der Index des Formularfelds |
|---|---|
| NewCaption | Die neue Beschriftung des Formularfelds. |
Rückgabewerte
| 0 | Das Formularfeld wurde nicht gefunden oder die Parameter waren ungültig |
|---|---|
| 1 | Die Beschriftung des Formularfelds wurde erfolgreich festgelegt |