XmpMetadata.Unembed Method

Detaches the XMP metadata embedded in the document from its catalog and clears all properties in all schemas.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public void Unembed()
VB
Public Sub Unembed

Remarks

You can use the ShouldBeEmbedded() method to check if there is any metadata that should be embedded.

The detached and cleared metadata object will stay in the output document unless you save it with RemoveUnusedObjects set to true.

See Also