XmpMetadata.IsEqualTo Method (Stream)

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

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

Syntax

C#
public bool IsEqualTo(
	Stream stream
)
VB
Public Function IsEqualTo ( 
	stream As Stream
) As Boolean

Parameters

stream
Type: System.IO.Stream
The stream with metadata to compare this metadata to.

Return Value

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

Remarks

The stream 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