ImageGear .NET - Updated
RemoveField(Field) Method




ImageGear24.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > Form Class > RemoveField Method : RemoveField(Field) Method
The field to remove.
Removes a field from the form.
Syntax
'Declaration
 
Public Overloads Sub RemoveField( _
   ByVal field As Field _
) 
'Usage
 
Dim instance As Form
Dim field As Field
 
instance.RemoveField(field)
public void RemoveField( 
   Field field
)
public: void RemoveField( 
   Field* field
) 
public:
void RemoveField( 
   Field^ field
) 

Parameters

field
The field to remove.
Exceptions
ExceptionDescription
Thrown when the field argument is null.
When null is passed as a parameter.
Remarks
When removing a ChoiceField, all references to the field's ChoiceOptions are invalidated. Attempts to use a ChoiceOption after the field is removed will throw an ImGearException.

---

When removing any field, all references to the field's widgets are invalidated. Attempts to use a widget after the field is removed will throw an ImGearException.
See Also

Reference

Form Class
Form Members
Overload List