• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class EmfComparer

Compares EMF files or byte streams at record level.

Inheritance
object
EmfComparer
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DRIT.Drawing.Metafile
Assembly: DRIT.Drawing.dll
Syntax
public sealed class EmfComparer

Constructors

EmfComparer()

Initializes an empty EmfComparer instance.

Declaration
public EmfComparer()

Methods

Compare(byte[], byte[], EmfComparisonOptions)

Compares two EMF byte arrays.

Declaration
public EmfComparisonResult Compare(byte[] left, byte[] right, EmfComparisonOptions options = null)
Parameters
Type Name Description
byte[] left
byte[] right
EmfComparisonOptions options
Returns
Type Description
EmfComparisonResult

Compare(Stream, Stream, EmfComparisonOptions)

Compares two seekable EMF streams.

Declaration
public EmfComparisonResult Compare(Stream left, Stream right, EmfComparisonOptions options = null)
Parameters
Type Name Description
Stream left
Stream right
EmfComparisonOptions options
Returns
Type Description
EmfComparisonResult

Compare(string, string, EmfComparisonOptions)

Compares two EMF files.

Declaration
public EmfComparisonResult Compare(string leftPath, string rightPath, EmfComparisonOptions options = null)
Parameters
Type Name Description
string leftPath
string rightPath
EmfComparisonOptions options
Returns
Type Description
EmfComparisonResult

Read(Stream, EmfComparisonOptions)

Reads and parses the records in a seekable EMF stream.

Declaration
public IReadOnlyList<EmfRecordSignature> Read(Stream stream, EmfComparisonOptions options = null)
Parameters
Type Name Description
Stream stream
EmfComparisonOptions options
Returns
Type Description
IReadOnlyList<EmfRecordSignature>

Read(string, EmfComparisonOptions)

Reads and parses the records in an EMF file.

Declaration
public IReadOnlyList<EmfRecordSignature> Read(string path, EmfComparisonOptions options = null)
Parameters
Type Name Description
string path
EmfComparisonOptions options
Returns
Type Description
IReadOnlyList<EmfRecordSignature>
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX