Method Remove
Remove<T>(string, Func<T, bool>)
Removes the PdfItem(s) of type T saved in the given key, that match a predicate. Removes the PdfArray, if no longer needed. Returns true if items were removed.
public bool Remove<T>(string key, Func<T, bool> predicate) where T : PdfItem
Parameters
keystringThe key in the dictionary to work with.
predicateFunc<T, bool>The predicate, that shall be true for the desired item(s).
Returns
- bool
Type Parameters
T
Remove<T>(string, object)
Removes the PdfItem(s) of type T saved in the given key, that are equal to value. Removes the PdfArray, if no longer needed. Returns true if items were removed.
public bool Remove<T>(string key, object value) where T : PdfItem
Parameters
keystringThe key in the dictionary to work with.
valueobjectThe value, the desired item(s) shall be equal to.
Returns
- bool
Type Parameters
T
Remove<T>(string, T)
Removes the PdfItem(s) of type T saved in the given key, that are equal to value. Removes the PdfArray, if no longer needed. Returns true if items were removed.
public bool Remove<T>(string key, T value) where T : PdfItem
Parameters
keystringThe key in the dictionary to work with.
valueTThe value, the desired item(s) shall be equal to.
Returns
- bool
Type Parameters
T