XmpMetadata.IsEqualTo Method (String)

Checks if this metadata is equal to the metadata in the specified file.

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

Syntax

C#
public bool IsEqualTo(
	string fileName
)
VB
Public Function IsEqualTo ( 
	fileName As String
) As Boolean

Parameters

fileName
Type: System.String
The file with metadata to compare this metadata to.

Return Value

Type: Boolean
true if metadata structures are equal; otherwise false.

Remarks

The file is expected to have XMP data encoded in UTF-8 format.

This method ignores whitespace and formatting differences. It also ignores the XMP Toolkit attribute and the following elements:

  • CreationDate, Creator, ModDate, and Producer in PDF schema
  • CreateDate, CreatorTool, MetadataDate, and ModifyDate in Basic schema

See Also