Click or drag to resize

PdfOptionCollectionRemove Method

Removes the first occurrence of a specific PdfOption from the PdfOptionCollection.

Namespace:  RadPdf.Data.Document.Objects.FormFields.Options
Assembly:  RadPdf (in RadPdf.dll) Version: 3.48.0.0 (3.48.0.0)
Syntax
public bool Remove(
	PdfOption item
)

Parameters

item
Type: RadPdf.Data.Document.Objects.FormFields.OptionsPdfOption
The PdfOption to remove from the PdfOptionCollection

Return Value

Type: Boolean
true if item was successfully removed from the PdfOptionCollection; otherwise, false. This method also returns false if item is not found in the original PdfOptionCollection.

Implements

ICollectionTRemove(T)
Exceptions
Remarks
Options can not be removed from a collection whose parent PdfField hasIsLocked set to true.
See Also