RemoveFormFieldChoiceSub

Form fields

Description

Removes a subname entry from a choice based form field.

Syntax

Delphi

Function TPDFlib.RemoveFormFieldChoiceSub(Index: Integer; Const SubName: WideString): Integer;

ActiveX

Function PDFlib::RemoveFormFieldChoiceSub(Index As Long, SubName As String) As Long

DLL

int DLRemoveFormFieldChoiceSub(int InstanceID, int Index, const wchar_t* SubName);
int DLRemoveFormFieldChoiceSubA(int InstanceID, int Index, const char* SubName);

Parameters

IndexThe index of the form field
SubNameThe string value of the subname to delete

Return values

0The subname was not deleted. The specified form field may not have been a choice form field.
1The subname was successfully deleted