XmpMetadata.ShouldBeEmbedded Method

Checks if the metadata should be embedded when saving the document.

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


public bool ShouldBeEmbedded()
Public Function ShouldBeEmbedded As Boolean

Return Value

Type: Boolean
true if the metadata should be embedded; otherwise false.


The metadata should be embedded if there was some metadata in the source document. It should also be embedded if you add or change any metadata properties.

You can remove XMP metadata from the document using the Unembed() method.

See Also