Click or drag to resize

PdfInteractiveFormsRemoveField Method

Removes the first occurrence of a specific form field from the Fields.

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.111.2704
Syntax
public bool RemoveField(
	PdfField field
)

Parameters

field  PdfField
The form field to remove from the Fields.

Return Value

Boolean
true if field was successfully removed from Fields; otherwise, false. This method also returns false if item is not found in the Fields collection.
Remarks
For the changes to take effect, you need to call the ReloadForms method.
See Also