RemoveEmbeddedFile(String) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Removes the entries of the document's EmbeddedFiles name tree whose key decodes to name.

public bool RemoveEmbeddedFile(string name)

Parameters

name
String

The key, as text.

Returns

Boolean
true when an entry was removed.

Remarks

ISO 32000-2 §7.7.4, Table 32, and §7.9.6. Only the tree changes: the file specification and its stream stay objects of the document (an annotation or an AF array may still refer to them) until a save drops unreachable objects (RemoveUnreachableObjects). A mutation: no read may run concurrently with it.