SetFormFieldChoiceSub
Champs de formulaire
Description
Définit les valeurs d'exportation et d'affichage d'un sous-champ de choix existant. Si l'affichage est vide, il prend la même chaîne que l'exportation
La fonction AddFormFieldChoiceSub permet de modifier une entrée de sous-champ dans un champ de formulaire de choix existant
Syntaxe
Delphi
Function TPDFlib.SetFormFieldChoiceSub(Index, SubIndex: Integer; Const SubName, DisplayName: WideString): Integer;
ActiveX
Function PDFlib::SetFormFieldChoiceSub(Index As Long, SubIndex As Long, SubName As String, DisplayName As String) As Long
DLL
int DLSetFormFieldChoiceSub(int InstanceID, int Index, int SubIndex, const wchar_t * SubName, const wchar_t * DisplayName);
Paramètres
| Index | Indice du champ de formulaire à choix |
|---|---|
| SubIndex | Indice du sous-champ Le premier sous-champ a l’indice 1 |
| SubName | Valeur d’exportation du nouveau sous-champ |
| DisplayName | Valeur d’affichage du nouveau sous-champ |
Valeurs de retour
| 0 | Le sous-champ n'a pas été ajouté Le champ de formulaire spécifié n'était peut-être pas un champ de choix |
|---|---|
| 1 | Le champ de formulaire a été mis à jour |