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, wchar_t * SubName);

Parameters

IndexThe index of the form field The string value of the subname to delete
SubName

Return values

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