ImageGear .NET - Updated
RemoveField(Int32) Method




ImageGear24.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > Form Class > RemoveField Method : RemoveField(Int32) Method
The index according to the order the fields are returned by the default iterator.
Removes a field from the form based on the index, including its widget annotations and references to them from any pages.
Syntax
'Declaration
 
Public Overloads Sub RemoveField( _
   ByVal index As Integer _
) 
'Usage
 
Dim instance As Form
Dim index As Integer
 
instance.RemoveField(index)
public void RemoveField( 
   int index
)
public: void RemoveField( 
   int index
) 
public:
void RemoveField( 
   int index
) 

Parameters

index
The index according to the order the fields are returned by the default iterator.
Exceptions
ExceptionDescription
Thrown when the index argument is negative or greater or equal to the collection's size.
Remarks
See RemoveField(Field) for exception information on references to the field's properties after removal.
See Also

Reference

Form Class
Form Members
Overload List