Click or drag to resize

PdfArrayRemove Method

Removes the first occurrence of a specific PdfBasicObject from the PdfArray.

Namespace:  GemBox.Pdf.Objects
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 13.0.35.1000
Syntax
public bool Remove(
	PdfBasicObject item
)

Parameters

item
Type: GemBox.Pdf.ObjectsPdfBasicObject
The PdfBasicObject to remove from the PdfArray.

Return Value

Type: Boolean
if item is successfully removed; otherwise, . This method also returns if item was not found in the PdfArray.

Implements

ICollectionTRemove(T)
Exceptions
ExceptionCondition
InvalidOperationExceptionThe current PdfArray is read-only (IsReadOnly returns ).
See Also